annotate artifacts/doc/conf/log4j2.xml @ 9742:df5c6f3ef893 3.2.x

Do not run tomcat as root
author Tom Gottfried <tom@intevation.de>
date Mon, 29 Aug 2022 16:41:43 +0200
parents 7f8110eed9a3
children 432934cda171
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>
9730
7f8110eed9a3 Simplify server logging defaults
Tom Gottfried <tom@intevation.de>
parents: 9726
diff changeset
4 <Console name="Console" target="SYSTEM_OUT">
9726
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
5 <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
6 </Console>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
7 </Appenders>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
8 <Loggers>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
9 <Root level="DEBUG">
9730
7f8110eed9a3 Simplify server logging defaults
Tom Gottfried <tom@intevation.de>
parents: 9726
diff changeset
10 <AppenderRef ref="Console"/>
9726
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
11 </Root>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
12 <Logger name="org.hibernate" level="WARN" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
13 <Logger name="net.sf.ehcache" level="WARN" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
14 <Logger name="org.eclipse" level="WARN" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 <Logger name="org.restlet" level="INFO" additivity="false"/>
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 </Configuration>

http://dive4elements.wald.intevation.org