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:02:47 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 6c39d36b3 -> e79572fa1


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/e79572fa
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e79572fa
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e79572fa

Branch: refs/heads/branch-1
Commit: e79572fa1ceb30d337e6c3e883a8264dc1e66cfb
Parents: 6c39d36
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 12:02:38 2014 -0700

----------------------------------------------------------------------
 bin/hbase.cmd | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e79572fa/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