diff docker/Dockerfile.artifacts @ 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 654aaa0d7576
children 1dfcbb09c231
line wrap: on
line diff
--- a/docker/Dockerfile.artifacts	Fri Feb 25 17:17:56 2022 +0100
+++ b/docker/Dockerfile.artifacts	Wed Mar 02 10:26:50 2022 +0100
@@ -46,7 +46,7 @@
 EXPOSE 8181
 
 CMD mvn -Dexec.mainClass=org.dive4elements.artifactdatabase.App \
-        -Dlog4j.configuration="file:///opt/d4e/river/artifacts/doc/conf/log4j.properties" \
+        -Dlog4j2.configurationFile="file:///opt/d4e/river/artifacts/doc/conf/log4j2.xml" \
         -Dartifact.database.dir="/opt/d4e/river/artifacts/doc/conf" \
         -Dwsplgen.bin.path="/opt/d4e/river/artifacts/bin/wsplgen" \
         compile exec:java

http://dive4elements.wald.intevation.org