Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 63 lines (47 sloc) 1.835 kb
db9baaa @edwardcapriolo Yea man we need UDF power for GEO IP
authored
1 # Define some default values that can be overridden by system properties
2 hive.root.logger=WARN,DRFA
3 #hive.root.logger=DEBUG,console
4 hive.log.dir=/tmp/${user.name}
5 hive.log.file=hive.log
6
7 # Define the root logger to the system property "hadoop.root.logger".
8 log4j.rootLogger=${hive.root.logger}, EventCounter
9
10 # Logging Threshold
11 log4j.threshhold=WARN
12
13 #
14 # Daily Rolling File Appender
15 #
16
17 log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender
18 log4j.appender.DRFA.File=${hive.log.dir}/${hive.log.file}
19
20 # Rollver at midnight
21 log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
22
23 # 30-day backup
24 #log4j.appender.DRFA.MaxBackupIndex=30
25 log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
26
27 # Pattern format: Date LogLevel LoggerName LogMessage
28 #log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
29 # Debugging Pattern format
30 log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
31
32
33 #
34 # console
35 # Add "console" to rootlogger above if you want to use this
36 #
37
38 log4j.appender.console=org.apache.log4j.ConsoleAppender
39 log4j.appender.console.target=System.err
40 log4j.appender.console.layout=org.apache.log4j.PatternLayout
41 log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
42
43 #custom logging levels
44 #log4j.logger.xxx=DEBUG
45
46 #
47 # Event Counter Appender
48 # Sends counts of logging messages at different severity levels to Hadoop Metrics.
49 #
50 log4j.appender.EventCounter=org.apache.hadoop.metrics.jvm.EventCounter
51
52
53 log4j.category.DataNucleus=ERROR,DRFA
54 log4j.category.Datastore=ERROR,DRFA
55 log4j.category.Datastore.Schema=ERROR,DRFA
56 log4j.category.JPOX.Datastore=ERROR,DRFA
57 log4j.category.JPOX.Plugin=ERROR,DRFA
58 log4j.category.JPOX.MetaData=ERROR,DRFA
59 log4j.category.JPOX.Query=ERROR,DRFA
60 log4j.category.JPOX.General=ERROR,DRFA
61 log4j.category.JPOX.Enhancer=ERROR,DRFA
62
Something went wrong with that request. Please try again.