hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject git commit: HBASE-12372 [WINDOWS] Enable log4j configuration in hbase.cmd
Date Wed, 29 Oct 2014 19:00:06 GMT
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 <enis@apache.org>
Authored: Wed Oct 29 11:59:55 2014 -0700
Committer: Enis Soztutar <enis@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!


Mime
View raw message