servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r407238 - /incubator/servicemix/trunk/servicemix-assembly/src/main/release/conf/log4j.xml
Date Wed, 17 May 2006 12:44:37 GMT
Author: gnodet
Date: Wed May 17 05:44:37 2006
New Revision: 407238

URL: http://svn.apache.org/viewcvs?rev=407238&view=rev
Log:
Improve default log4j configuration

Modified:
    incubator/servicemix/trunk/servicemix-assembly/src/main/release/conf/log4j.xml

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/conf/log4j.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/conf/log4j.xml?rev=407238&r1=407237&r2=407238&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/conf/log4j.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/conf/log4j.xml Wed May
17 05:44:37 2006
@@ -4,15 +4,17 @@
 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
 
     <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+        <param name="threshold" value="INFO"/>
         <layout class="org.apache.log4j.PatternLayout">
-            <param name="ConversionPattern" value="%p - %C{1}.%M(%L) | %m%n"/>
+            <param name="ConversionPattern" value="%-5p - %-30c{1} - %m%n"/>
         </layout>
     </appender>
 
     <appender name="FILE" class="org.apache.log4j.FileAppender">
+        <param name="threshold" value="DEBUG"/>
         <param name="File" value="servicemix.log"/>
         <layout class="org.apache.log4j.PatternLayout">
-            <param name="ConversionPattern" value="%p - %C{1}.%M(%L) | %m%n"/>
+            <param name="ConversionPattern" value="%d{ABSOLUTE} | %-5p | %-10t | %-24.24c{1}
| %-30.30C %4L | %m%n"/>
         </layout>
     </appender>
 
@@ -25,13 +27,19 @@
     </logger>
 
     <logger name="org.apache.servicemix">
-        <level value="INFO"/>
+        <level value="DEBUG"/>
+    </logger>
+    <logger name="org.apache.servicemix.jbi.config">
+        <level value="WARN"/>
+    </logger>
+    <logger name="org.apache.servicemix.jbi.deployment">
+        <level value="WARN"/>
     </logger>
 
     <root>
         <level value="INFO"/>
         <appender-ref ref="CONSOLE"/>
-        <!--appender-ref ref="FILE"/-->
+        <appender-ref ref="FILE"/>
     </root>
 
 </log4j:configuration>



Mime
View raw message