diff docker/Dockerfile.artifacts @ 9724:654aaa0d7576 3.2.x

Rely on log4j's default initialization procedure This should make upgrading to Log4j 2.x easier. In passing, use latest Log4j 1.
author Tom Gottfried <tom@intevation.de>
date Fri, 25 Feb 2022 17:13:49 +0100
parents 13e2d38ad314
children 0a5239a1e46e
line wrap: on
line diff
--- a/docker/Dockerfile.artifacts	Fri Feb 25 14:39:26 2022 +0100
+++ b/docker/Dockerfile.artifacts	Fri Feb 25 17:13:49 2022 +0100
@@ -46,6 +46,7 @@
 EXPOSE 8181
 
 CMD mvn -Dexec.mainClass=org.dive4elements.artifactdatabase.App \
+        -Dlog4j.configuration="file:///opt/d4e/river/artifacts/doc/conf/log4j.properties" \
         -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