Permalink
Browse files

Adding a log4j configuration to filter noise from HBaseTestingUtility.

  • Loading branch information...
1 parent 8835149 commit f38e5fd8005a5a07bee7da102213d329a89e0250 Jason Bray committed Jan 9, 2013
Showing with 12 additions and 0 deletions.
  1. +12 −0 dev-resources/log4j.properties
@@ -0,0 +1,12 @@
+log4j.rootLogger = WARN, standard
+
+; Turn off HBaseTestingUtility noise
+log4j.logger.org.apache.zookeeper = FATAL
+log4j.logger.org.apache.hadoop.metrics2 = FATAL
+log4j.logger.org.apache.hadoop.hbase.zookeeper = FATAL
+log4j.logger.org.apache.hadoop.hdfs.server.datanode = FATAL
+log4j.logger.org.apache.hadoop.hdfs.server.namenode = FATAL
+
+log4j.appender.standard = org.apache.log4j.ConsoleAppender
+log4j.appender.standard.layout = org.apache.log4j.PatternLayout
+log4j.appender.standard.layout.ConversionPattern = %d{ABSOLUTE} %p %c: %m%n

0 comments on commit f38e5fd

Please sign in to comment.