Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

ics:logmsg

Write strings to a Sites log file for debugging or system monitoring.

Syntax

Parameters

msg (required)
Message to be written

name (optional)
Optionally specify the logger which will be used to log this message. Default is com.fatwire.logging.cs

severity (optional)
String value which specifies the severity of the log message. Valid strings are as follows:

  • trace

  • debug

  • info (if severity is not specified or invalid, info is the default severity)

  • warn

  • error

  • fatal

Note: Visibilty of log message depends on the setting in commons-logging.properties for the specified logger.

Description

Use this tag if you want to perform debugging or system monitoring. The log strings are written to your Sites log file.

Error Numbers

There are no possible errno for this tag.

Example

The following example writes a warning message to the log file.

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.