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

 

ics:logmsg

Write strings to a Content Server 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 Content Server 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 >

FatWire JSP Tag Reference
Copyright 2005 - 2011 by FatWire Corporation
All rights reserved.