diff gwt-client/src/main/resources/log4j2.xml @ 9727:a99f07471004 3.2.x

Keep config away from Maven Clean Plugin
author Tom Gottfried <tom@intevation.de>
date Thu, 28 Apr 2022 17:30:21 +0200
parents gwt-client/src/main/webapp/WEB-INF/classes/log4j2.xml@0a5239a1e46e
children 1a1e627b1483
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gwt-client/src/main/resources/log4j2.xml	Thu Apr 28 17:30:21 2022 +0200
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration>
+    <Appenders>
+        <RollingFile
+            name="RollingFile"
+            fileName="/var/log/d4e-river/d4e-client.log"
+            filePattern="/var/log/d4e-river/d4e-client.log.%i">
+            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5p %c{1} - %m%n"/>
+            <SizeBasedTriggeringPolicy size="5000 KB"/>
+            <DefaultRolloverStrategy max="3"/>
+        </RollingFile>
+    </Appenders>
+    <Loggers>
+        <Root level="DEBUG">
+            <AppenderRef ref="RollingFile"/>
+        </Root>
+        <Logger name="org.apache.http" level="ERROR" additivity="false"/>
+    </Loggers>
+</Configuration>

http://dive4elements.wald.intevation.org