annotate gwt-client/src/main/resources/log4j2.xml @ 9787:df61a569a289 3.2.x

Prevent Tomcat from logging to files
author Tom Gottfried <tom@intevation.de>
date Tue, 16 May 2023 18:45:12 +0200
parents 1a1e627b1483
children
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>
9746
1a1e627b1483 Let client log to stdout
Tom Gottfried <tom@intevation.de>
parents: 9727
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"/>
9746
1a1e627b1483 Let client log to stdout
Tom Gottfried <tom@intevation.de>
parents: 9727
diff changeset
6 </Console>
9726
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">
9746
1a1e627b1483 Let client log to stdout
Tom Gottfried <tom@intevation.de>
parents: 9727
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.apache.http" level="ERROR" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
13 </Loggers>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
14 </Configuration>

http://dive4elements.wald.intevation.org