Author: cws Date: Wed Sep 26 05:05:44 2012 New Revision: 1390278 URL: http://svn.apache.org/viewvc?rev=1390278&view=rev Log: HIVE-3505. log4j template has logging threshold that hides all audit logs (Sean Mackrory via cws)
Modified: hive/trunk/common/src/java/conf/hive-log4j.properties hive/trunk/ql/src/java/conf/hive-exec-log4j.properties Modified: hive/trunk/common/src/java/conf/hive-log4j.properties URL: http://svn.apache.org/viewvc/hive/trunk/common/src/java/conf/hive-log4j.properties?rev=1390278&r1=1390277&r2=1390278&view=diff ============================================================================== --- hive/trunk/common/src/java/conf/hive-log4j.properties (original) +++ hive/trunk/common/src/java/conf/hive-log4j.properties Wed Sep 26 05:05:44 2012 @@ -15,7 +15,8 @@ # limitations under the License. # Define some default values that can be overridden by system properties -hive.root.logger=WARN,DRFA +hive.log.threshold=WARN +hive.root.logger=${hive.log.threshold},DRFA hive.log.dir=/tmp/${user.name} hive.log.file=hive.log @@ -23,7 +24,7 @@ hive.log.file=hive.log log4j.rootLogger=${hive.root.logger}, EventCounter # Logging Threshold -log4j.threshhold=WARN +log4j.threshold=${hive.log.threshold} # # Daily Rolling File Appender Modified: hive/trunk/ql/src/java/conf/hive-exec-log4j.properties URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/conf/hive-exec-log4j.properties?rev=1390278&r1=1390277&r2=1390278&view=diff ============================================================================== --- hive/trunk/ql/src/java/conf/hive-exec-log4j.properties (original) +++ hive/trunk/ql/src/java/conf/hive-exec-log4j.properties Wed Sep 26 05:05:44 2012 @@ -15,7 +15,8 @@ # limitations under the License. # Define some default values that can be overridden by system properties -hive.root.logger=INFO,FA +hive.log.threshold=INFO +hive.root.logger=${hive.log.threshold},FA hive.log.dir=/tmp/${user.name} hive.log.file=${hive.query.id}.log @@ -23,7 +24,7 @@ hive.log.file=${hive.query.id}.log log4j.rootLogger=${hive.root.logger}, EventCounter # Logging Threshold -log4j.threshhold=WARN +log4j.threshhold=${hive.log.threshold} # # File Appender