forked from eXist-db/exist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j2.xml
224 lines (184 loc) · 9.85 KB
/
log4j2.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<?xml version="1.0" encoding="UTF-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Properties>
<Property name="logs">${log4j:configParentLocation}/webapp/WEB-INF/logs</Property>
<Property name="rollover.max.size">10MB</Property>
<Property name="rollover.max">14</Property>
<Property name="rollover.file.pattern">%d{yyyyMMddHHmmss}</Property>
<Property name="exist.file.pattern">%d [%t] %-5p (%F [%M]:%L) - %m %n</Property>
</Properties>
<Appenders>
<Console name="STDOUT">
<PatternLayout pattern="%d{DATE} [%t] %-5p (%F [%M]:%L) - %m %n"/>
</Console>
<RollingRandomAccessFile name="exist.core" filePattern="${logs}/exist.${rollover.file.pattern}.log.gz" fileName="${logs}/exist.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.xmldb" filePattern="${logs}/xmldb.${rollover.file.pattern}.log.gz" fileName="${logs}/xmldb.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.xmlrpc" filePattern="${logs}/xmlrpc.${rollover.file.pattern}.log.gz" fileName="${logs}/xmlrpc.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.urlrewrite" filePattern="${logs}/urlrewrite.${rollover.file.pattern}.log.gz" fileName="${logs}/urlrewrite.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.profiling" filePattern="${logs}/profile.${rollover.file.pattern}.log.gz" fileName="${logs}/profile.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.scheduler" filePattern="${logs}/scheduler.${rollover.file.pattern}.log.gz" fileName="${logs}/scheduler.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.ehcache" filePattern="${logs}/ehcache.${rollover.file.pattern}.log.gz" fileName="${logs}/ehcache.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.betterform" filePattern="${logs}/betterform.${rollover.file.pattern}.log.gz" fileName="${logs}/betterform.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.restxq" filePattern="${logs}/restxq.${rollover.file.pattern}.log.gz" fileName="${logs}/restxq.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.backup" filePattern="${logs}/backup.${rollover.file.pattern}.log.gz" fileName="${logs}/backup.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.mdStorage" filePattern="${logs}/mdStorage.${rollover.file.pattern}.log.gz" fileName="${logs}/mdStorage.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="exist.statistics" filePattern="${logs}/statistics.${rollover.file.pattern}.log.gz" fileName="${logs}/statistics.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
<RollingRandomAccessFile name="expath.repo" filePattern="${logs}/expath-repo.${rollover.file.pattern}.log.gz" fileName="${logs}/expath-repo.log">
<Policies>
<SizeBasedTriggeringPolicy size="${rollover.max.size}"/>
</Policies>
<DefaultRolloverStrategy max="${rollover.max}"/>
<PatternLayout pattern="${exist.file.pattern}"/>
</RollingRandomAccessFile>
</Appenders>
<Loggers>
<Logger name="org.exist.jetty.JettyStart" additivity="false" level="trace">
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="exist.core"/>
</Logger>
<Logger name="org.exist.jetty.StandaloneServer" additivity="false" level="trace">
<AppenderRef ref="STDOUT"/>
<AppenderRef ref="exist.core"/>
</Logger>
<Logger name="xquery.profiling" additivity="false" level="trace">
<AppenderRef ref="exist.profiling"/>
</Logger>
<Logger name="org.exist.statistics" additivity="false" level="debug">
<AppenderRef ref="exist.core"/>
<AppenderRef ref="exist.statistics"/>
</Logger>
<Logger name="org.exist.backup.SystemExport" additivity="false" level="trace">
<AppenderRef ref="exist.backup"/>
</Logger>
<Logger name="org.exist.xmldb" additivity="false" level="info">
<AppenderRef ref="exist.xmldb"/>
</Logger>
<Logger name="org.exist.xmlrpc" additivity="false" level="info">
<AppenderRef ref="exist.xmlrpc"/>
</Logger>
<Logger name="org.apache.xmlrpc" additivity="false" level="info">
<AppenderRef ref="exist.xmlrpc"/>
</Logger>
<Logger name="org.exist.http.urlrewrite" additivity="false" level="info">
<!-- set to "trace" to get detailed info on URL rewriting -->
<AppenderRef ref="exist.urlrewrite"/>
</Logger>
<Logger name="org.exist.extensions.exquery.restxq" additivity="false" level="info">
<AppenderRef ref="exist.restxq"/>
</Logger>
<Logger name="org.eclipse.jetty" additivity="false" level="info">
<AppenderRef ref="exist.core"/>
</Logger>
<Logger name="httpclient" additivity="false" level="info">
<AppenderRef ref="exist.core"/>
</Logger>
<Logger name="net.sf.ehcache" additivity="false" level="info">
<AppenderRef ref="exist.ehcache"/>
</Logger>
<!-- Milton WebDAV framework -->
<Logger name="com.bradmcevoy" additivity="false" level="info">
<AppenderRef ref="exist.core"/>
</Logger>
<!-- Apache Axis: 'debug' produces a large amount of debugging output -->
<Logger name="org.apache" additivity="false" level="off">
<AppenderRef ref="exist.core"/>
</Logger>
<!-- Quartz scheduler -->
<Logger name="org.quartz" additivity="false" level="info">
<AppenderRef ref="exist.scheduler"/>
</Logger>
<Logger name="org.exist.storage.SystemTask" additivity="false" level="debug">
<AppenderRef ref="exist.scheduler"/>
</Logger>
<!-- betterFORM extension -->
<Logger name="de.betterform" additivity="false" level="warn">
<AppenderRef ref="exist.betterform"/>
</Logger>
<!-- Metadata Storage extension -->
<Logger name="mdStorage" additivity="false" level="warn">
<AppenderRef ref="exist.mdStorage"/>
</Logger>
<!-- expath pkg repo -->
<Logger name="org.expath.pkg" additivity="false" level="trace">
<AppenderRef ref="expath.repo"/>
</Logger>
<Logger name="org.exist.repo" additivity="false" level="trace">
<AppenderRef ref="expath.repo"/>
</Logger>
<Root level="info">
<AppenderRef ref="exist.core"></AppenderRef>
</Root>
</Loggers>
</Configuration>