You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2014/10/29 20:00:06 UTC
git commit: HBASE-12372 [WINDOWS] Enable log4j configuration in
hbase.cmd
Repository: hbase
Updated Branches:
refs/heads/master 889333a6f -> 0fa43bd57
HBASE-12372 [WINDOWS] Enable log4j configuration in hbase.cmd
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0fa43bd5
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0fa43bd5
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0fa43bd5
Branch: refs/heads/master
Commit: 0fa43bd574f897f764749efcf0d42890aa44ff45
Parents: 889333a
Author: Enis Soztutar <en...@apache.org>
Authored: Wed Oct 29 11:59:55 2014 -0700
Committer: Enis Soztutar <en...@apache.org>
Committed: Wed Oct 29 11:59:55 2014 -0700
----------------------------------------------------------------------
bin/hbase.cmd | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/0fa43bd5/bin/hbase.cmd
----------------------------------------------------------------------
diff --git a/bin/hbase.cmd b/bin/hbase.cmd
index 2e75c38..1b2227b 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!