[lsc-changes] r413 - lsc-sample/trunk/src/test/resources

rschermesser at lsc-project.org rschermesser at lsc-project.org
Sat Nov 7 22:52:24 CET 2009


Author: rschermesser
Date: 2009-11-07 22:52:24 +0100 (Sat, 07 Nov 2009)
New Revision: 413

Added:
   lsc-sample/trunk/src/test/resources/logback-test.xml
Log:
Migrate log configuration files

Added: lsc-sample/trunk/src/test/resources/logback-test.xml
===================================================================
--- lsc-sample/trunk/src/test/resources/logback-test.xml	                        (rev 0)
+++ lsc-sample/trunk/src/test/resources/logback-test.xml	2009-11-07 21:52:24 UTC (rev 413)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<configuration>
+  <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+    <layout class="org.lsc.utils.LocalizedJndiModificationsLayout">
+      <ConversionPattern>%-4r - %-5p - %m%n</ConversionPattern>
+    </layout>
+  </appender>
+  <appender name="LSC" class="ch.qos.logback.core.rolling.RollingFileAppender">
+    <!--See also http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
+    <Append>false</Append>
+    <File>/tmp/synchro.log</File>
+    <layout class="org.lsc.utils.LocalizedJndiModificationsLayout">
+      <ConversionPattern>%m%n</ConversionPattern>
+    </layout>
+    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+      <level>DEBUG</level>
+    </filter>
+    <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"/>
+    <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+      <MaxFileSize>10000KB</MaxFileSize>
+    </triggeringPolicy>
+  </appender>
+  <logger name="communicationLogger" level="WARN">
+    <appender-ref ref="CONSOLE"/>
+  </logger>
+  <logger name="org.apache" level="WARN">
+    <appender-ref ref="CONSOLE"/>
+  </logger>
+  <logger name="lsc" level="INFO">
+    <appender-ref ref="LSC"/>
+  </logger>
+  <logger name="poolLogger" level="ERROR">
+    <appender-ref ref="CONSOLE"/>
+  </logger>
+  <root level="DEBUG">
+    <appender-ref ref="CONSOLE"/>
+  </root>
+</configuration>
+



More information about the lsc-changes mailing list