[logback-dev] svn commit: r2104 - logback/trunk/logback-examples/src/main/java/chapter5

noreply.ceki at qos.ch noreply.ceki at qos.ch
Fri Dec 26 15:54:30 CET 2008


Author: ceki
Date: Fri Dec 26 15:54:29 2008
New Revision: 2104

Modified:
   logback/trunk/logback-examples/src/main/java/chapter5/mdcfilter.xml

Log:
- clean up

Modified: logback/trunk/logback-examples/src/main/java/chapter5/mdcfilter.xml
==============================================================================
--- logback/trunk/logback-examples/src/main/java/chapter5/mdcfilter.xml	(original)
+++ logback/trunk/logback-examples/src/main/java/chapter5/mdcfilter.xml	Fri Dec 26 15:54:29 2008
@@ -3,8 +3,7 @@
   <appender name="STDOUT"
             class="ch.qos.logback.core.ConsoleAppender">
     <layout class="ch.qos.logback.classic.PatternLayout">
-      <param name="Pattern"
-        value="%-4relative [%thread] %-5level %X{testKey} - %msg%n" />
+      <Pattern>%-4relative [%thread] %-5level %X{testKey} - %msg%n"</Pattern>
     </layout>
 
     <filter class="ch.qos.logback.core.filter.EvaluatorFilter">  
@@ -17,8 +16,7 @@
     </filter>
   </appender>
 
-  <root>
-    <level value="debug" />
+  <root level="debug">
     <appender-ref ref="STDOUT" />
   </root>
 </configuration>


More information about the logback-dev mailing list