From e79572fa1ceb30d337e6c3e883a8264dc1e66cfb Mon Sep 17 00:00:00 2001 From: Enis Soztutar Date: Wed, 29 Oct 2014 11:59:55 -0700 Subject: [PATCH] HBASE-12372 [WINDOWS] Enable log4j configuration in hbase.cmd --- bin/hbase.cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/hbase.cmd b/bin/hbase.cmd index 2e75c38bb23..1b2227b9644 100644 --- a/bin/hbase.cmd +++ b/bin/hbase.cmd @@ -239,7 +239,9 @@ if "%servercommand%" == "true" ( if defined service_entry ( set HBASE_LOG_PREFIX=hbase-%hbase-command%-%COMPUTERNAME% 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 loggc=!HBASE_LOG_DIR!\!HBASE_LOG_PREFIX!.gc set loglog=!HBASE_LOG_DIR!\!HBASE_LOGFILE!