mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[MINOR]
- Added "-Dlog4j.configuration" into JAVA_OPTS and JAVA_INTP_OPTS explicitly
This commit is contained in:
parent
f43228bd19
commit
21852845bd
1 changed files with 2 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ if [[ -z "$ZEPPELIN_MEM" ]]; then
|
|||
fi
|
||||
|
||||
JAVA_OPTS+=" ${ZEPPELIN_JAVA_OPTS} -Dfile.encoding=${ZEPPELIN_ENCODING} ${ZEPPELIN_MEM}"
|
||||
JAVA_OPTS+=" -Dlog4j.configuration=file://${ZEPPELIN_CONF_DIR}/log4j.properties"
|
||||
export JAVA_OPTS
|
||||
|
||||
# jvm options for interpreter process
|
||||
|
|
@ -117,6 +118,7 @@ if [[ -z "${ZEPPELIN_INTP_MEM}" ]]; then
|
|||
fi
|
||||
|
||||
JAVA_INTP_OPTS="${ZEPPELIN_INTP_JAVA_OPTS} -Dfile.encoding=${ZEPPELIN_ENCODING}"
|
||||
JAVA_INTP_OPTS+=" -Dlog4j.configuration=file://${ZEPPELIN_CONF_DIR}/log4j.properties"
|
||||
export JAVA_INTP_OPTS
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue