Revision: 15507
Author: emmartins
Date: Thu Nov 25 11:28:48 2010
Log: [No log message]
http://code.google.com/p/mobicents/source/detail?r=15507

Modified:
/trunk/servers/jain-slee/core/docs/sources/src/main/resources/en-US/Chapter-Logging_Traces_and_Alarms.xml

=======================================
--- /trunk/servers/jain-slee/core/docs/sources/src/main/resources/en-US/Chapter-Logging_Traces_and_Alarms.xml Thu Oct 7 07:06:43 2010 +++ /trunk/servers/jain-slee/core/docs/sources/src/main/resources/en-US/Chapter-Logging_Traces_and_Alarms.xml Thu Nov 25 11:28:48 2010
@@ -14,7 +14,7 @@
<para>In &THIS.PLATFORM; JAIN SLEE <literal>Apache log4j</literal> is used for logging. If you are not familiar with the log4j package and would like to use it in your applications, you can read more about it at the <ulink url="http://jakarta.apache.org/log4j/";>Jakarta web site</ulink>.</para> <para>Logging is controlled from a central <filename>conf/jboss-log4j.xml</filename> file, in each server configuration profile. This file defines a set of appenders specifying the log files, what categories of messages should go there, the message format and the level of filtering. By default, in &THIS.PLATFORM; produces output to both the console and a log file (<filename>log/server.log</filename>).</para> <para>There are 6 basic log levels used: TRACE, DEBUG, INFO, WARN, ERROR and FATAL. </para> - <para>Logging is organized in categories and appenders. Appenders controll destination of log entries. Different appenders differ in configuration, however each supports threshold. Threshold filters log entries based on their level. Threshold set to WARN will allow log entry to pass into appender if its level is WARN, ERROR or FATAL, other entries will be discarded. For more details on appender configuration please refer to its documentation or java doc.</para> + <para>Logging is organized in categories and appenders. Appenders control destination of log entries. Different appenders differ in configuration, however each supports threshold. Threshold filters log entries based on their level. Threshold set to WARN will allow log entry to pass into appender if its level is WARN, ERROR or FATAL, other entries will be discarded. For more details on appender configuration please refer to its documentation or java doc.</para> <para>The logging threshold on the console is INFO, by default. In contrast, there is no threshold set for the server.log file, so all generated logging messages are logged there. </para> <para> Categories control level for loggers and its children, for details please refer to log4j manual. </para> <para>By default &THIS.PLATFORM; JAIN SLEE inherits level of INFO from root logger. To make platform add more detailed logs, file <filename>conf/jboss-log4j.xml</filename> has to be altered. Explicit category definition for &THIS.PLATFORM; JAIN SLEE looks like:</para>

Reply via email to