phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject git commit: log4j.properties update
Date Thu, 13 Mar 2014 19:36:50 GMT
Repository: incubator-phoenix
Updated Branches:
  refs/heads/4.0 9379f87ca -> ae4cb76da


log4j.properties update


Project: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/commit/ae4cb76d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/tree/ae4cb76d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/diff/ae4cb76d

Branch: refs/heads/4.0
Commit: ae4cb76daafbcafb0948aa5d4be85f683f854db9
Parents: 9379f87
Author: Jeffrey Zhong <jzhong@JZhongs-MacBook-Pro.local>
Authored: Thu Mar 13 09:56:42 2014 -0700
Committer: Jeffrey Zhong <jzhong@JZhongs-MacBook-Pro.local>
Committed: Thu Mar 13 12:39:56 2014 -0700

----------------------------------------------------------------------
 bin/log4j.properties | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/ae4cb76d/bin/log4j.properties
----------------------------------------------------------------------
diff --git a/bin/log4j.properties b/bin/log4j.properties
index c0108a1..dac120b 100644
--- a/bin/log4j.properties
+++ b/bin/log4j.properties
@@ -20,22 +20,22 @@
 #
 
 # Define some default values that can be overridden by system properties
-psql.root.logger=INFO,DRFA
+psql.root.logger=INFO,console
 psql.log.dir=.
 psql.log.file=psql.log
 hadoop.log.dir=.
 
 # Define the root logger to the system property "plsql.root.logger".
-log4j.rootLogger=NullAppender
+log4j.rootLogger=${psql.root.logger}
 
 # Logging Threshold
-log4j.threshold=ERROR
+log4j.threshold=INFO
 
 #
 # Daily Rolling File Appender
 #
 log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.DRFA.File=${psql.log.dir}/${hbase.log.file}
+log4j.appender.DRFA.File=${psql.log.dir}/${psql.log.file}
 
 # Rollver at midnight
 log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
@@ -59,10 +59,11 @@ log4j.appender.NullAppender=org.apache.log4j.varia.NullAppender
 # console
 # Add "console" to rootlogger above if you want to use this 
 #
-#log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console=org.apache.log4j.ConsoleAppender
 log4j.appender.console.target=System.err
 log4j.appender.console.layout=org.apache.log4j.PatternLayout
 log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
 
 # Custom Logging levels
-
+log4j.logger.org.apache.zookeeper=WARN
+log4j.logger.org.apache.hadoop.hbase.HBaseConfiguration=ERROR


Mime
View raw message