HBASE-26822 Revert the changes on hbase-daemon.sh after switching to log4j2 properties file (#4209)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
71ff3ec323
commit
f4866a49dc
|
@ -155,20 +155,12 @@ JAVA=$JAVA_HOME/bin/java
|
||||||
export HBASE_LOG_PREFIX=hbase-$HBASE_IDENT_STRING-$command-$HOSTNAME
|
export HBASE_LOG_PREFIX=hbase-$HBASE_IDENT_STRING-$command-$HOSTNAME
|
||||||
export HBASE_LOGFILE=$HBASE_LOG_PREFIX.log
|
export HBASE_LOGFILE=$HBASE_LOG_PREFIX.log
|
||||||
|
|
||||||
if [ -z "${HBASE_ROOT_LOGGER_LEVEL}" ]; then
|
if [ -z "${HBASE_ROOT_LOGGER}" ]; then
|
||||||
export HBASE_ROOT_LOGGER_LEVEL=${HBASE_ROOT_LOGGER_LEVEL:-"INFO"}
|
export HBASE_ROOT_LOGGER=${HBASE_ROOT_LOGGER:-"INFO,RFA"}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${HBASE_ROOT_LOGGER_APPENDER}" ]; then
|
if [ -z "${HBASE_SECURITY_LOGGER}" ]; then
|
||||||
export HBASE_ROOT_LOGGER_APPENDER=${HBASE_ROOT_LOGGER_APPENDER:-"RFA"}
|
export HBASE_SECURITY_LOGGER=${HBASE_SECURITY_LOGGER:-"INFO,RFAS"}
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "${HBASE_SECURITY_LOGGER_LEVEL}" ]; then
|
|
||||||
export HBASE_SECURITY_LOGGER_LEVEL=${HBASE_SECURITY_LOGGER_LEVEL:-"INFO"}
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "${HBASE_SECURITY_LOGGER_APPENDER}" ]; then
|
|
||||||
export HBASE_SECURITY_LOGGER_APPENDER=${HBASE_SECURITY_LOGGER_APPENDER:-"RFAS"}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HBASE_LOGOUT=${HBASE_LOGOUT:-"$HBASE_LOG_DIR/$HBASE_LOG_PREFIX.out"}
|
HBASE_LOGOUT=${HBASE_LOGOUT:-"$HBASE_LOG_DIR/$HBASE_LOG_PREFIX.out"}
|
||||||
|
|
Loading…
Reference in New Issue