[jboss-cvs] JBossAS SVN: r62403 - branches/Branch_4_2/server/src/etc/conf/default.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 18 11:26:43 EDT 2007


Author: dimitris at jboss.org
Date: 2007-04-18 11:26:43 -0400 (Wed, 18 Apr 2007)
New Revision: 62403

Modified:
   branches/Branch_4_2/server/src/etc/conf/default/jboss-log4j.xml
Log:
JBAS-4336, explain that the custom XLevel priority for activating trace level logging is not needed anymore.

Modified: branches/Branch_4_2/server/src/etc/conf/default/jboss-log4j.xml
===================================================================
--- branches/Branch_4_2/server/src/etc/conf/default/jboss-log4j.xml	2007-04-18 14:46:23 UTC (rev 62402)
+++ branches/Branch_4_2/server/src/etc/conf/default/jboss-log4j.xml	2007-04-18 15:26:43 UTC (rev 62403)
@@ -192,7 +192,7 @@
 
    <!-- Enable JBossWS message tracing
    <category name="jbossws.SOAPMessage">
-    <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+    <priority value="TRACE"/>
    </category>
    -->
 
@@ -204,7 +204,7 @@
 
    <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
    <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
-     <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+     <priority value="TRACE"/>
    </category>
    -->
 
@@ -213,11 +213,16 @@
       | by the JBoss internals to diagnose low level details. This example
       | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
       | subpackages. This will produce A LOT of logging output.
+      |
+      | Note: since jboss AS 4.2.x, the trace level is supported natively by
+      | log4j, so although the custom org.jboss.logging.XLevel priority will
+      | still work, there is no need to use it. The two examples that follow
+      | will both enable trace logging.
    <category name="org.jboss.system">
      <priority value="TRACE" class="org.jboss.logging.XLevel"/>
    </category>
    <category name="org.jboss.ejb.plugins">
-     <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+     <priority value="TRACE"/>
    </category>
    -->
   




More information about the jboss-cvs-commits mailing list