Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

filters out derby warnings

  • Loading branch information...
commit 6ad7110ae17f2e0e57cacb2a37ad6792bed06ebb 1 parent 7c80950
Kaufman Ng authored October 09, 2012

Showing 1 changed file with 34 additions and 0 deletions. Show diff stats Hide diff stats

  1. 34  src/test/resources/log4j.properties
34  src/test/resources/log4j.properties
... ...
@@ -0,0 +1,34 @@
  1
+# Define some default values that can be overridden by system properties
  2
+hive.root.logger=WARN,console
  3
+hive.log.dir=/tmp/${user.name}
  4
+hive.log.file=hive.log
  5
+
  6
+# Define the root logger to the system property "hadoop.root.logger".
  7
+log4j.rootLogger=${hive.root.logger}
  8
+
  9
+# Logging Threshold
  10
+log4j.threshhold=WARN
  11
+
  12
+#
  13
+# console
  14
+# Add "console" to rootlogger above if you want to use this 
  15
+#
  16
+
  17
+log4j.appender.console=org.apache.log4j.ConsoleAppender
  18
+log4j.appender.console.target=System.out
  19
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
  20
+log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
  21
+
  22
+#custom logging levels
  23
+#log4j.logger.xxx=DEBUG
  24
+
  25
+log4j.category.DataNucleus=ERROR
  26
+log4j.category.Datastore=ERROR
  27
+log4j.category.Datastore.Schema=ERROR
  28
+log4j.category.JPOX.Datastore=ERROR
  29
+log4j.category.JPOX.Plugin=ERROR
  30
+log4j.category.JPOX.MetaData=ERROR
  31
+log4j.category.JPOX.Query=ERROR
  32
+log4j.category.JPOX.General=ERROR
  33
+log4j.category.JPOX.Enhancer=ERROR
  34
+

0 notes on commit 6ad7110

Please sign in to comment.
Something went wrong with that request. Please try again.