HBASE-12019 hbase-daemon.sh overwrite HBASE_ROOT_LOGGER and HBASE_SECURITY_LOGGER variables (Sebastien Barrier)
This commit is contained in:
parent
7c1d6b3764
commit
e25ca03497
|
@ -144,8 +144,15 @@ fi
|
|||
JAVA=$JAVA_HOME/bin/java
|
||||
export HBASE_LOG_PREFIX=hbase-$HBASE_IDENT_STRING-$command-$HOSTNAME
|
||||
export HBASE_LOGFILE=$HBASE_LOG_PREFIX.log
|
||||
|
||||
if [ -z "${HBASE_ROOT_LOGGER}" ]; then
|
||||
export HBASE_ROOT_LOGGER=${HBASE_ROOT_LOGGER:-"INFO,RFA"}
|
||||
fi
|
||||
|
||||
if [ -z "${HBASE_SECURITY_LOGGER}" ]; then
|
||||
export HBASE_SECURITY_LOGGER=${HBASE_SECURITY_LOGGER:-"INFO,RFAS"}
|
||||
fi
|
||||
|
||||
logout=$HBASE_LOG_DIR/$HBASE_LOG_PREFIX.out
|
||||
loggc=$HBASE_LOG_DIR/$HBASE_LOG_PREFIX.gc
|
||||
loglog="${HBASE_LOG_DIR}/${HBASE_LOGFILE}"
|
||||
|
|
Loading…
Reference in New Issue