Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!--
// This configuration file is suitable for testing purposes.
-->
<log4j:configuration debug="true" xmlns:log4j='http://jakarta.apache.org/log4j/'>
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<!--
// %d: outputs the date of the logging event.
// %-5p: priority (i.e. level) of the logging event should be left justified to
// a width of five characters.
// %t: outputs the name of the thread that generated the logging event.
// %c: outputs the category of the logging event.
// %m: outputs the application supplied message associated with the logging event.
// %n: outputs the platform dependent line separator character or characters.
// %X: outputs the MDC (mapped diagnostic context) associated with the thread that generated the logging event.
-->
<param name="ConversionPattern"
value="%d %-5p [%t]%X{sessionInfo} %c - %m%n" />
</layout>
</appender>
<!--
// Defined but not used right now.
-->
<appender name="NULL" class="org.apache.log4j.varia.NullAppender" />
<!--
// Enable full wire (header and content) + context logging
// For more information look at http://jakarta.apache.org/commons/httpclient/logging.html.
// We do not need to set a level value here as loggers inherit their level from the root logger.
-->
<!--
// Do not use log level debug otherwise plain passwords are readable.
-->
<logger name="httpclient.wire">
<level value="ERROR" />
</logger>
<!--
// Uncomment this for debugging value binding in Hibernate
<category name="org.hibernate.type">
<priority value="TRACE"/>
</category>
-->
<!--
<logger name="org.apache.commons.httpclient">
<level value="DEBUG" />
</logger>
-->
<root>
<priority value="info" />
<appender-ref ref="STDOUT" />
</root>
</log4j:configuration>