Mercurial > dive4elements > river
diff backend/contrib/run_hydr_morph.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 | ae3df0f96e15 |
children |
line wrap: on
line diff
--- a/backend/contrib/run_hydr_morph.sh Fri Feb 25 17:17:56 2022 +0100 +++ b/backend/contrib/run_hydr_morph.sh Wed Mar 02 10:26:50 2022 +0100 @@ -6,7 +6,7 @@ BACKEND_HOST="czech-republic.atlas.intevation.de" BACKEND_PORT="1521" BACKEND_NAME="XE" -LOG4J_CONFIG="conf/log4j.properties" +LOG4J_CONFIG="conf/log4j2.xml" JAR="bin/river-backend-1.0-SNAPSHOT*.jar" ##################################################################### @@ -72,7 +72,7 @@ exec java -jar \ -Xmx$MIN_MEMORY \ -server \ - -Dlog4j.configuration=file://`readlink -f $LOG4J_CONFIG` \ + -Dlog4j2.configurationFile=file://`readlink -f $LOG4J_CONFIG` \ -Dflys.backend.importer.infogew.file=$INFO_GEW \ -Dflys.backend.main.value.types=$IMPORTER_MAINVALUE_TYPES \ -Dflys.backend.importer.annotation.types=$IMPORTER_ANNOTATION_TYPES \