Skip to content
Newer
Older
100644 62 lines (46 sloc) 1.74 KB
65da102 @omalley HADOOP-3601. Add a new contrib module for Hive, which is a sql-like
omalley authored Sep 2, 2008
1 # Define some default values that can be overridden by system properties
f305493 @zshao HIVE-229: Debug output disabled in HIVE-206 (Johan Oskarsson via zshao)
zshao authored Jan 14, 2009
2 hive.root.logger=WARN,DRFA
65da102 @omalley HADOOP-3601. Add a new contrib module for Hive, which is a sql-like
omalley authored Sep 2, 2008
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".
0537520 remove EventCounter logger
Szhung Yang authored Jan 21, 2011
7 log4j.rootLogger=${hive.root.logger}
65da102 @omalley HADOOP-3601. Add a new contrib module for Hive, which is a sql-like
omalley authored Sep 2, 2008
8
9 # Logging Threshold
10 log4j.threshhold=WARN
11
12 #
13 # Daily Rolling File Appender
14 #
15
16 log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender
17 log4j.appender.DRFA.File=${hive.log.dir}/${hive.log.file}
18
19 # Rollver at midnight
20 log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
21
22 # 30-day backup
23 #log4j.appender.DRFA.MaxBackupIndex=30
24 log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
25
26 # Pattern format: Date LogLevel LoggerName LogMessage
27 #log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
28 # Debugging Pattern format
29 log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M(%L)) - %m%n
30
31
32 #
33 # console
34 # Add "console" to rootlogger above if you want to use this
35 #
36
37 log4j.appender.console=org.apache.log4j.ConsoleAppender
38 log4j.appender.console.target=System.err
39 log4j.appender.console.layout=org.apache.log4j.PatternLayout
40 log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n
41
42 #custom logging levels
43 #log4j.logger.xxx=DEBUG
44
45 #
46 # Event Counter Appender
47 # Sends counts of logging messages at different severity levels to Hadoop Metrics.
48 #
0537520 remove EventCounter logger
Szhung Yang authored Jan 22, 2011
49 # log4j.appender.EventCounter=org.apache.hadoop.log.EventCounter
65da102 @omalley HADOOP-3601. Add a new contrib module for Hive, which is a sql-like
omalley authored Sep 2, 2008
50
51
f40f47d HIVE-603. list of maps and vice versa
Namit Jain authored Jul 3, 2009
52 log4j.category.DataNucleus=ERROR,DRFA
65da102 @omalley HADOOP-3601. Add a new contrib module for Hive, which is a sql-like
omalley authored Sep 2, 2008
53 log4j.category.Datastore=ERROR,DRFA
54 log4j.category.Datastore.Schema=ERROR,DRFA
55 log4j.category.JPOX.Datastore=ERROR,DRFA
56 log4j.category.JPOX.Plugin=ERROR,DRFA
57 log4j.category.JPOX.MetaData=ERROR,DRFA
58 log4j.category.JPOX.Query=ERROR,DRFA
59 log4j.category.JPOX.General=ERROR,DRFA
60 log4j.category.JPOX.Enhancer=ERROR,DRFA
61
Something went wrong with that request. Please try again.