Skip to content

Commit

Permalink
move java.util.logging env variable to JAVA_TOOL_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Apr 3, 2024
1 parent f99a99b commit 20b7d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/util/log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ fi

rm -f $JAVA_HOME/conf/logging.properties
if [[ $logFormat = 'JSONTemplateLayout' ]]; then
export BOX_SERVER_JVM_ARGS="['-Djava.util.logging.config.file=$BUILD_DIR/resources/json.logging.properties']"
export JAVA_TOOL_OPTIONS="-Djava.util.logging.config.file=$BUILD_DIR/resources/json.logging.properties $JAVA_TOOL_OPTIONS"
else
export BOX_SERVER_JVM_ARGS="['-Djava.util.logging.config.file=$BUILD_DIR/resources/text.logging.properties']"
export JAVA_TOOL_OPTIONS="-Djava.util.logging.config.file=$BUILD_DIR/resources/text.logging.properties $JAVA_TOOL_OPTIONS"
fi

# Global logger function
Expand Down

0 comments on commit 20b7d15

Please sign in to comment.