Log4j now properly configured
[taxeditor.git] / eu.etaxonomy.taxeditor.test / src / main / resources / log4j.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
4 debug="false">
5
6 <appender name="consoleAppender" class="org.apache.log4j.ConsoleAppender">
7 <param name="Target" value="System.out" />
8 <layout class="org.apache.log4j.PatternLayout">
9 <param name="ConversionPattern"
10 value="%d{dd MMM yyyy HH:mm:ss.SSS} - %25t - %-5p - %30c{1} - (%C{1}.java:%L) - %m%n" />
11 </layout>
12 </appender>
13
14 <appender name="fileAppender" class="org.apache.log4j.FileAppender">
15 <param name="File" value="/tmp/debug.log" />
16 <param name="Append" value="false" />
17 <layout class="org.apache.log4j.PatternLayout">
18 <param name="ConversionPattern"
19 value="%d{dd MMM yyyy HH:mm:ss.SSS} - %25t - %-5p - %30c{1} - (%C{1}.java:%L) - %m%n" />
20 </layout>
21 </appender>
22
23 <appender name="asyncAppender" class="org.apache.log4j.AsyncAppender">
24 <!-- appender-ref ref="consoleAppender" / -->
25 <appender-ref ref="fileAppender" />
26 </appender>
27
28 <!-- don't log matchers, this is very high amount of chatter -->
29 <category name="org.eclipse.swtbot.swt.finder.matchers">
30 <priority value="OFF" />
31 </category>
32
33 <!--
34 don't log widget notification events, this is moderately high chatter
35 -->
36 <category name="org.eclipse.swtbot.swt.finder.widgets">
37 <priority value="OFF" />
38 </category>
39
40 <!-- don't log finders, this is moderate chatter -->
41 <category name="org.eclipse.swtbot.swt.finder.finders">
42 <priority value="DEBUG" />
43 </category>
44
45 <category name="org.eclipse.swtbot.swt.finder.keyboard">
46 <!-- set to a value higher than debug to turn on. -->
47 <priority value="DEBUG" />
48 </category>
49
50 <category name="org.eclipse.swtbot">
51 <priority value="ALL" />
52 </category>
53
54 <root>
55 <priority value="INFO" />
56 <appender-ref ref="consoleAppender" />
57 <appender-ref ref="fileAppender" />
58 </root>
59
60 </log4j:configuration>