-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlog4j.xml
154 lines (118 loc) · 4.26 KB
/
log4j.xml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!--
| For more configuration information and examples see the Jakarta Log4j
| owebsite: http://jakarta.apache.org/log4j
-->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out"/>
<param name="Threshold" value="DEBUG"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>
<!-- ================ -->
<!-- Limit categories -->
<!-- ================ -->
<!-- TAIR logging -->
<!-- Note: if you want to set the priority for only one appender, add
<appender-ref ref="CONSOLE"/> or whatever; but note that you also
have the root appending, so you'll get two messages unless you also
set log4j.additivity.<package>.<class>=false -->
<category name="org.jnp">
<priority value="WARN" />
</category>
<category name="com.arjuna">
<priority value="WARN" />
</category>
<category name="org.apache.coyote">
<priority value="WARN" />
</category>
<category name="org.apache.catalina">
<priority value="WARN" />
</category>
<!-- TAIR logging -->
<category name="org.tair">
<priority value="DEBUG" />
</category>
<category name="org.tair.tfc.DBconnection">
<priority value="WARN" />
</category>
<category name="org.tair.tfc.DatabaseManager">
<priority value="WARN" />
</category>
<!-- TAIR Germplasm_Pedigree_wrk table builder -->
<category name="org.tair.search.germplasm">
<priority value="DEBUG" />
</category>
<category name="com.poesys">
<priority value="WARN" />
</category>
<!-- connection logging -->
<category name="com.poesys.bs.delegate.AbstractConnectionDelegate">
<priority value="INFO" />
</category>
<!-- connection logging -->
<category name="com.poesys.db.connection.JndiConnectionFactory">
<priority value="INFO" />
</category>
<category name="com.poesys.db.dao.DaoManager">
<priority value="INFO" />
</category>
<category name="com.poesys.db.dao.CacheListenerExecutor">
<priority value="INFO" />
</category>
<category name="com.poesys.db.dao.CacheMessageListener">
<priority value="INFO" />
</category>
<category name="com.poesys.db.dto.DtoCacheWithMessaging">
<priority value="INFO" />
</category>
<category name="org.tair.bs.community.CommunityDelegateFactory">
<priority value="INFO" />
</category>
<category name="org.tair.abrc.catalog.category.CatalogCategory">
<priority value="DEBUG" />
</category>
<category name="org.tair.abrc.catalog.CatalogManager">
<priority value="DEBUG" />
</category>
<category name="org.ajax4jsf">
<priority value="WARN" />
</category>
<category name="org.apache.myfaces">
<priority value="WARN" />
</category>
<category name="facelets">
<priority value="WARN" />
</category>
<category name="javax.faces">
<priority value="WARN" />
</category>
<category name="org.richfaces">
<priority value="WARN" />
</category>
<category name="net.rubyeye.xmemcached">
<priority value="ERROR" />
</category>
<category name="com.google">
<priority value="ERROR" />
</category>
<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
<root>
<priority value="DEBUG"/>
<appender-ref ref="CONSOLE"/>
</root>
</log4j:configuration>