Skip to content

Commit

Permalink
fixed #954 Appended FLUO_JAVA_OPTS to JAVA_OPTS in fluo-env.sh (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sri Kailash Gandebathula authored and keith-turner committed Nov 8, 2017
1 parent bfdd576 commit 4207df4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/distribution/src/main/config/fluo-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ export FLUO_TMP="${FLUO_TMP:-/tmp}"

## Fluo log4j configuration
export FLUO_LOG4J_CONFIG="${FLUO_LOG4J_CONFIG:-${conf}/log4j.properties}"
## Java options for Fluo command
JAVA_OPTS=("-Dlog4j.configuration=file:${FLUO_LOG4J_CONFIG}")
## Java options along with FLUO_JAVA_OPTS for Fluo command
JAVA_OPTS=("${FLUO_JAVA_OPTS[@]}" "-Dlog4j.configuration=file:${FLUO_LOG4J_CONFIG}")


export JAVA_OPTS

##########################
Expand Down

0 comments on commit 4207df4

Please sign in to comment.