Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
4 BACKEND_USER="flys28" | 4 BACKEND_USER="flys28" |
5 BACKEND_PASS="flys28" | 5 BACKEND_PASS="flys28" |
6 BACKEND_HOST="czech-republic.atlas.intevation.de" | 6 BACKEND_HOST="czech-republic.atlas.intevation.de" |
7 BACKEND_PORT="1521" | 7 BACKEND_PORT="1521" |
8 BACKEND_NAME="XE" | 8 BACKEND_NAME="XE" |
9 LOG4J_CONFIG="conf/log4j.properties" | 9 LOG4J_CONFIG="conf/log4j2.xml" |
10 JAR="bin/river-backend-1.0-SNAPSHOT*.jar" | 10 JAR="bin/river-backend-1.0-SNAPSHOT*.jar" |
11 ##################################################################### | 11 ##################################################################### |
12 | 12 |
13 | 13 |
14 ########################## Oracle Settings ########################## | 14 ########################## Oracle Settings ########################## |
70 export LC_ALL=de_DE@euro | 70 export LC_ALL=de_DE@euro |
71 | 71 |
72 exec java -jar \ | 72 exec java -jar \ |
73 -Xmx$MIN_MEMORY \ | 73 -Xmx$MIN_MEMORY \ |
74 -server \ | 74 -server \ |
75 -Dlog4j.configuration=file://`readlink -f $LOG4J_CONFIG` \ | 75 -Dlog4j2.configurationFile=file://`readlink -f $LOG4J_CONFIG` \ |
76 -Dflys.backend.importer.infogew.file=$INFO_GEW \ | 76 -Dflys.backend.importer.infogew.file=$INFO_GEW \ |
77 -Dflys.backend.main.value.types=$IMPORTER_MAINVALUE_TYPES \ | 77 -Dflys.backend.main.value.types=$IMPORTER_MAINVALUE_TYPES \ |
78 -Dflys.backend.importer.annotation.types=$IMPORTER_ANNOTATION_TYPES \ | 78 -Dflys.backend.importer.annotation.types=$IMPORTER_ANNOTATION_TYPES \ |
79 -Dflys.backend.importer.dry.run=$IMPORTER_DRY_RUN \ | 79 -Dflys.backend.importer.dry.run=$IMPORTER_DRY_RUN \ |
80 -Dflys.backend.importer.skip.annotations=$IMPORTER_SKIP_ANNOTATIONS \ | 80 -Dflys.backend.importer.skip.annotations=$IMPORTER_SKIP_ANNOTATIONS \ |