HBASE-12372 [WINDOWS] Enable log4j configuration in hbase.cmd
This commit is contained in:
parent
889333a6fd
commit
0fa43bd574
|
@ -239,7 +239,9 @@ if "%servercommand%" == "true" (
|
||||||
if defined service_entry (
|
if defined service_entry (
|
||||||
set HBASE_LOG_PREFIX=hbase-%hbase-command%-%COMPUTERNAME%
|
set HBASE_LOG_PREFIX=hbase-%hbase-command%-%COMPUTERNAME%
|
||||||
set HBASE_LOGFILE=!HBASE_LOG_PREFIX!.log
|
set HBASE_LOGFILE=!HBASE_LOG_PREFIX!.log
|
||||||
set HBASE_ROOT_LOGGER=INFO,DRFA
|
if not defined HBASE_ROOT_LOGGER (
|
||||||
|
set HBASE_ROOT_LOGGER=INFO,DRFA
|
||||||
|
)
|
||||||
set HBASE_SECURITY_LOGGER=INFO,DRFAS
|
set HBASE_SECURITY_LOGGER=INFO,DRFAS
|
||||||
set loggc=!HBASE_LOG_DIR!\!HBASE_LOG_PREFIX!.gc
|
set loggc=!HBASE_LOG_DIR!\!HBASE_LOG_PREFIX!.gc
|
||||||
set loglog=!HBASE_LOG_DIR!\!HBASE_LOGFILE!
|
set loglog=!HBASE_LOG_DIR!\!HBASE_LOGFILE!
|
||||||
|
|
Loading…
Reference in New Issue