make sure the count dejournaller always goes to console and that info is always turne...
[lwes-journaller-java.git] / src / assemble / log4j.xml
blob20b6ea2883d7547266c949779d6ecca4222db88d
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
4 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
6     <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
7         <param name="Target" value="System.out"/>
8         <layout class="org.apache.log4j.PatternLayout">
9             <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c] %m%n"/>
10         </layout>
11     </appender>
13     <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
14         <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/>
15         <param name="File" value="logs/journaller.log"/>
16         <param name="Append" value="true"/>
17         <param name="DatePattern" value="'.'yyyy-MM-dd"/>
18         <layout class="org.apache.log4j.PatternLayout">
19             <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
20         </layout>
21     </appender>
23     <category name="org.lwes.journaller.CountDeJournaller">
24         <priority value="INFO"/>
25         <appender-ref ref="CONSOLE"/>
26     </category>
28     <root>
29         <priority value="INFO"/>
30         <appender-ref ref="FILE"/>
31     </root>
33 </log4j:configuration>