source: mauRepo/newmoon/src/test/resources/log4j.xml @ 7816

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/newmoon/src/test/resources/log4j.xml@7927
Revision 7816, 8.7 KB checked in by mnagni, 9 years ago (diff)

many major changes

  • Property svn:mime-type set to text/plain
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3
4<!-- This is the configuration for LOG4J -->
5<!-- $Id: log4j.xml 10418 2009-11-09 16:18:59Z ixitar $ -->
6
7<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
8   
9    <!-- Section: APPENDERS -->
10   
11    <!--
12         writes log messages to the console. It outputs file name,
13         method name and line number of the caller. This is slow,
14         so just use it for debugging.
15    -->
16    <appender name="console" class="org.apache.log4j.ConsoleAppender">
17        <layout class="org.apache.log4j.PatternLayout">
18            <param name="ConversionPattern" value="%d{DATE} [%t] %-5p (%F [%M]:%L) - %m %n"/>
19        </layout>
20    </appender>
21   
22    <!--
23         the following appenders write to files 
24    -->
25    <appender name="exist.ehcache" class="org.apache.log4j.RollingFileAppender">
26        <param name="File" value="${exist.home}/logs/cocoon-ehcache.log"/>
27        <param name="MaxFileSize" value="500KB"/>
28        <param name="Encoding" value="UTF-8"/>
29        <layout class="org.apache.log4j.PatternLayout">
30            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
31        </layout>
32    </appender>
33   
34    <appender name="exist.core" class="org.apache.log4j.RollingFileAppender">
35        <param name="File" value="${exist.home}/logs/exist.log"/>
36        <param name="MaxFileSize" value="5MB"/>
37        <param name="MaxBackupIndex" value="3"/>
38        <param name="Encoding" value="UTF-8"/>
39        <layout class="org.apache.log4j.PatternLayout">
40            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
41        </layout>
42    </appender>
43   
44    <appender name="exist.xacml" class="org.apache.log4j.RollingFileAppender">
45        <param name="File" value="${exist.home}/logs/xacml.log"/>
46        <param name="MaxFileSize" value="500KB"/>
47        <layout class="org.apache.log4j.PatternLayout">
48            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
49        </layout>
50    </appender>
51   
52    <appender name="exist.xmldb" class="org.apache.log4j.RollingFileAppender">
53        <param name="File" value="${exist.home}/logs/xmldb.log"/>
54        <param name="MaxFileSize" value="500KB"/>
55        <layout class="org.apache.log4j.PatternLayout">
56            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
57        </layout>
58    </appender>
59
60    <appender name="org.xmldb" class="org.apache.log4j.RollingFileAppender">
61        <param name="File" value="${exist.home}/logs/orgxmldb.log"/>
62        <param name="MaxFileSize" value="500KB"/>
63        <layout class="org.apache.log4j.PatternLayout">
64            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
65        </layout>
66    </appender>
67   
68    <appender name="org.exist.xquery" class="org.apache.log4j.RollingFileAppender">
69        <param name="File" value="${exist.home}/logs/existXquery.log"/>
70        <param name="MaxFileSize" value="500KB"/>
71        <layout class="org.apache.log4j.PatternLayout">
72            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
73        </layout>
74    </appender>
75   
76    <appender name="exist.urlrewrite" class="org.apache.log4j.RollingFileAppender">
77        <param name="File" value="${exist.home}/logs/urlrewrite.log"/>
78        <param name="MaxFileSize" value="500KB"/>
79        <layout class="org.apache.log4j.PatternLayout">
80            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
81        </layout>
82    </appender>
83
84    <appender name="exist.profiling" class="org.apache.log4j.RollingFileAppender">
85        <param name="File" value="${exist.home}/logs/profile.log"/>
86        <param name="MaxFileSize" value="500KB"/>
87        <layout class="org.apache.log4j.PatternLayout">
88            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
89        </layout>
90    </appender>
91   
92    <!--appender name="exist.validation" class="org.apache.log4j.RollingFileAppender">
93        <param name="File" value="${exist.home}/webapp/WEB-INF/logs/validation.log"/>
94        <param name="MaxFileSize" value="500KB"/>
95        <layout class="org.apache.log4j.PatternLayout">
96            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
97        </layout>
98    </appender-->
99   
100    <!--appender name="exist.webdav" class="org.apache.log4j.RollingFileAppender">
101        <param name="File" value="${exist.home}/webapp/WEB-INF/logs/webdav.log"/>
102        <param name="MaxFileSize" value="500KB"/>
103        <layout class="org.apache.log4j.PatternLayout">
104            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
105        </layout>
106    </appender-->
107   
108    <appender name="exist.scheduler" class="org.apache.log4j.RollingFileAppender">
109        <param name="File" value="${exist.home}/logs/scheduler.log"/>
110        <param name="MaxFileSize" value="500KB"/>
111        <layout class="org.apache.log4j.PatternLayout">
112            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
113        </layout>
114    </appender>
115       
116    <!--
117         the following appender write to NULL 
118    -->
119    <appender name="null" class="org.apache.log4j.varia.NullAppender">
120        <layout class="org.apache.log4j.PatternLayout">
121            <param name="ConversionPattern" value="%d [%t] %-5p (%F [%M]:%L) - %m %n"/>
122        </layout>
123    </appender>
124   
125    <!--
126        LF5 appender. Using this appender in an appender-ref will
127        pop up the LogFactor5 gui.
128    -->
129    <appender name="lf5" class="org.apache.log4j.lf5.LF5Appender">
130        <param name="MaxNumberOfRecords" value="1000"/>
131    </appender>
132   
133   
134    <!-- Section: CATEGORIES -->
135   
136    <category name="org.exist.JettyStart" additivity="false">
137        <priority value="trace"/>
138        <appender-ref ref="console"/>
139        <appender-ref ref="exist.core"/>
140        <appender-ref ref="exist.xmldb"/>
141    </category>
142   
143    <category name="org.exist.StandaloneServer" additivity="false">
144        <priority value="trace"/>
145        <appender-ref ref="console"/>
146        <appender-ref ref="exist.core"/>
147        <appender-ref ref="exist.xmldb"/>
148    </category>
149   
150    <category name="xquery.profiling" additivity="false">
151        <priority value="trace"/>
152        <appender-ref ref="exist.profiling"/>
153    </category>
154   
155    <category name="org.exist.security.xacml" additivity="false">
156        <priority value="warn"/>
157        <appender-ref ref="exist.xacml"/>
158    </category>
159   
160    <category name="org.exist.xmldb" additivity="false">
161        <priority value="debug"/>
162        <appender-ref ref="exist.xmldb"/>
163    </category>
164   
165    <category name="org.xmldb" additivity="false">
166        <priority value="debug"/>
167        <appender-ref ref="org.xmldb"/>
168    </category>
169   
170    <category name="org.exist.xquery" additivity="false">
171        <priority value="debug"/>
172        <appender-ref ref="org.exist.xquery"/>
173    </category>
174   
175        <category name="org.exist.http.urlrewrite" additivity="false">
176                <!-- set to "trace" to get detailed info on URL rewriting -->
177        <priority value="info"/>
178        <appender-ref ref="exist.urlrewrite"/>
179    </category>
180
181    <category name="org.mortbay" additivity="false">
182        <priority value="info"/>
183        <appender-ref ref="console"/>
184    </category>
185   
186    <category name="httpclient" additivity="false">
187        <priority value="info"/>
188        <appender-ref ref="console"/>
189    </category>
190   
191    <!--category name="org.exist.validation" additivity="false">
192        <priority value="debug"/>
193        <appender-ref ref="exist.validation"/>
194    </category-->
195   
196    <!--category name="org.exist.http.webdav" additivity="false">
197        <priority value="debug"/>
198        <appender-ref ref="exist.webdav"/>
199    </category-->
200   
201    <category name="net.sf.ehcache" additivity="false">
202        <priority value="debug"/>
203        <appender-ref ref="exist.ehcache"/>
204    </category>
205   
206    <!--
207        Axis produces a large amount of debugging output if
208        priority is set to debug
209    -->
210    <category name="org.apache" additivity="false">
211        <priority value="off"/>
212        <appender-ref ref="console"/>
213    </category>
214   
215    <!--
216         quartz scheduler
217    -->
218    <category name="org.quartz" additivity="false">
219        <priority value="info"/>
220        <appender-ref ref="exist.scheduler"/>
221    </category>
222
223    <!-- Section: ROOT logger -->
224   
225    <root>
226        <priority value="debug"/>
227        <appender-ref ref="exist.core"/>
228    </root>
229   
230</log4j:configuration>
Note: See TracBrowser for help on using the repository browser.