[jboss-cvs] JBossAS SVN: r65460 - trunk/server/src/etc/conf/default.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 18 20:34:37 EDT 2007


Author: dimitris at jboss.org
Date: 2007-09-18 20:34:36 -0400 (Tue, 18 Sep 2007)
New Revision: 65460

Modified:
   trunk/server/src/etc/conf/default/jboss-log4j.xml
Log:
JBAS-4336, Remove XLevel trace example from jboss-log4j.xml as it is not needed anymore - tidy up.

Modified: trunk/server/src/etc/conf/default/jboss-log4j.xml
===================================================================
--- trunk/server/src/etc/conf/default/jboss-log4j.xml	2007-09-19 00:25:51 UTC (rev 65459)
+++ trunk/server/src/etc/conf/default/jboss-log4j.xml	2007-09-19 00:34:36 UTC (rev 65460)
@@ -158,7 +158,7 @@
    <!-- Security AUDIT Appender -->
    <appender name="AUDIT" class="org.jboss.logging.appender.DailyRollingFileAppender">
       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
-      <param name="File" value="${jboss.server.log.dir}/security/audit.log"/>
+      <param name="File" value="${jboss.server.log.dir}/audit.log"/>
       <param name="Append" value="true"/>
       <param name="DatePattern" value="'.'yyyy-MM-dd"/>
       <layout class="org.apache.log4j.PatternLayout">
@@ -175,26 +175,26 @@
       <priority value="INFO"/>
    </category>
 
-   <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
-   <category name="org.quartz">
-      <priority value="INFO"/>
+   <!-- Limit the jacorb category to WARN as its INFO is verbose -->
+   <category name="jacorb">
+      <priority value="WARN"/>
    </category>
-
-   <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
-   <category name="org.jboss.serial">
-      <priority value="INFO"/>
+   
+   <!-- Set the logging level of the JSF implementation -->
+   <category name="javax.enterprise.resource.webcontainer.jsf">
+     <priority value="INFO" />
    </category>
-
+   
    <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
    <category name="org.jgroups">
       <priority value="WARN"/>
    </category>
-
-   <!-- Limit the jacorb category to WARN as its INFO is verbose -->
-   <category name="jacorb">
-      <priority value="WARN"/>
+   
+   <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
+   <category name="org.quartz">
+      <priority value="INFO"/>
    </category>
-
+   
    <!-- Limit JBoss categories
    <category name="org.jboss">
       <priority value="INFO"/>
@@ -206,50 +206,50 @@
       <priority value="INFO"/>
    </category>
 
-   <!-- Enable JBossWS message tracing -->
-   <category name="org.jboss.ws.core.MessageTrace">
-     <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+   <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
+   <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
+     <priority value="TRACE"/>
    </category>
+   -->
 
+   <!-- Category specifically for Security Audit Provider -->
+   <category name="org.jboss.security.audit.providers.LogAuditProvider" additivity="false">
+     <priority value="TRACE"/>
+     <appender-ref ref="AUDIT"/>
+   </category>
+   
+   <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
+   <category name="org.jboss.serial">
+      <priority value="INFO"/>
+   </category>
+  
    <!-- Decrease the priority threshold for the org.jboss.varia category
    <category name="org.jboss.varia">
      <priority value="DEBUG"/>
    </category>
    -->
-
-   <!-- Quiet the tm logging until its level is fixed -->
-   <category name="com.arjuna.ats">
-     <priority value="WARN"/>
-   </category>
    
-   <!-- Set the logging level of the JSF implementation -->
-   <category name="javax.enterprise.resource.webcontainer.jsf">
-     <priority value="INFO" />
+   <!-- Enable JBossWS message tracing
+   <category name="org.jboss.ws.core.MessageTrace">
+     <priority value="TRACE"/>
    </category>
-
-   <!-- 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"/>
-   </category>
    -->
-
-   <!-- Category specifically for Security Audit Provider -->
-   <category name="org.jboss.security.audit.providers.LogAuditProvider"
-             additivity="false">
-     <priority value="TRACE" class="org.jboss.logging.XLevel"/>
-     <appender-ref ref="AUDIT"/>
-   </category>
-
+   
    <!--
       | An example of enabling the custom TRACE level priority that is used
       | 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>
    -->
   
@@ -284,18 +284,8 @@
      <priority value="INFO" />
      <appender-ref ref="TRAP_LOG"/>
    </category>
-  
    -->
 
-   <!-- ======================= -->
-   <!-- Setup the Root category -->
-   <!-- ======================= -->
-
-   <root>
-      <appender-ref ref="CONSOLE"/>
-      <appender-ref ref="FILE"/>
-   </root>
-
    <!-- Clustering logging -->
    <!-- Uncomment the following to redirect the org.jgroups and
       org.jboss.ha categories to a cluster.log file.
@@ -320,5 +310,14 @@
      <appender-ref ref="CLUSTER"/>
    </category>
    -->
+   
+   <!-- ======================= -->
+   <!-- Setup the Root category -->
+   <!-- ======================= -->
 
+   <root>
+      <appender-ref ref="CONSOLE"/>
+      <appender-ref ref="FILE"/>
+   </root>
+
 </log4j:configuration>




More information about the jboss-cvs-commits mailing list