annotate gwt-client/src/main/resources/log4j2.xml @ 9731:1dfcbb09c231 3.2.x

Improve server deployment in Docker container _ Compile during build instead of with CMD _ No longer run service as root user
author Tom Gottfried <tom@intevation.de>
date Fri, 15 Jul 2022 16:24:56 +0200
parents a99f07471004
children 1a1e627b1483
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-client.log"
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
7 filePattern="/var/log/d4e-river/d4e-client.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="3"/>
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 </Appenders>
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 <Root level="DEBUG">
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 <AppenderRef ref="RollingFile"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
16 </Root>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
17 <Logger name="org.apache.http" level="ERROR" additivity="false"/>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
18 </Loggers>
0a5239a1e46e Upgrade to Log4j 2
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
19 </Configuration>

http://dive4elements.wald.intevation.org