annotate artifacts/doc/conf/log4j2.xml @ 9726:0a5239a1e46e 3.2.x

Upgrade to Log4j 2
author Tom Gottfried <tom@intevation.de>
date Wed, 02 Mar 2022 10:26:50 +0100
parents
children 7f8110eed9a3
rev   line source
9726
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2 <Configuration>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
3 <Appenders>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
4 <RollingFile
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
5 name="RollingFile"
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
6 fileName="/var/log/d4e-river/d4e-server.log"
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
7 filePattern="/var/log/d4e-river/d4e-server.log.%i">
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
8 <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5p %c{1} - %m%n"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
9 <SizeBasedTriggeringPolicy size="5000 KB"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
10 <DefaultRolloverStrategy max="1"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
11 </RollingFile>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
12 <Console name="Console" target="SYSTEM_OUT">
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
13 <PatternLayout pattern="%d %m%n"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
14 </Console>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 </Appenders>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
16 <Loggers>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
17 <Root level="DEBUG">
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
18 <AppenderRef ref="RollingFile"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
19 </Root>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
20 <Logger name="org.hibernate" level="WARN" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
21 <Logger name="net.sf.ehcache" level="WARN" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
22 <Logger name="org.eclipse" level="WARN" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
23 <Logger name="org.restlet" level="INFO" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
24 <Logger name="org.dive4elements.artifactdatabase.rest.Standalone"
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
25 level="INFO">
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
26 <AppenderRef ref="Console"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
27 </Logger>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
28 </Loggers>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
29 </Configuration>

http://dive4elements.wald.intevation.org