diff etl/bin/run.sh @ 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 4542d23f98bf
children
line wrap: on
line diff
--- a/etl/bin/run.sh	Fri Feb 25 17:17:56 2022 +0100
+++ b/etl/bin/run.sh	Wed Mar 02 10:26:50 2022 +0100
@@ -7,7 +7,7 @@
 
 CONF=${1:-../doc/conf.xml}
 CONF=$(readlink -f $CONF)
-LOG4J_CONF=${2:-log4j.properties}
+LOG4J_CONF=${2:-log4j2.xml}
 LOG4J_CONF=$(readlink -f $LOG4J_CONF)
 
 CLASSPATH=
@@ -18,6 +18,6 @@
 export CLASSPATH
 
 exec java \
-    -Dlog4j.configuration=file://$LOG4J_CONF \
+    -Dlog4j2.configurationFile=file://$LOG4J_CONF \
     -Dconfig.file=$CONF \
     $APP

http://dive4elements.wald.intevation.org