Author: ivanmi
Date: Thu Jun  6 05:20:14 2013
New Revision: 1490146

URL: http://svn.apache.org/r1490146
Log:
HADOOP-9552. Windows log4j template should suppress info messages from 
mortbay.log. Contributed by Ivan Mitic.

Modified:
    hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt
    
hadoop/common/branches/branch-1-win/src/packages/win/template/conf/log4j.properties

Modified: hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt
URL: 
http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt?rev=1490146&r1=1490145&r2=1490146&view=diff
==============================================================================
--- hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt (original)
+++ hadoop/common/branches/branch-1-win/CHANGES.branch-1-win.txt Thu Jun  6 
05:20:14 2013
@@ -268,9 +268,12 @@ Branch-hadoop-1-win (branched from branc
     HADOOP-9043. disallow in winutils creating symlinks with forwards slashes.
     (Chris Nauroth via suresh)
 
-    HADOOP-9579. Contrib ant test target not setting the java.library.path
+    HADOOP-9579. Contrib ant test target not setting the java.library.path.
     (ivanmi)
 
+    HADOOP-9552. Windows log4j template should suppress info messages from
+    mortbay.log. (ivanmi)
+
   Merged from branch-1
 
     HDFS-385. Backport: Add support for an experimental API that allows a

Modified: 
hadoop/common/branches/branch-1-win/src/packages/win/template/conf/log4j.properties
URL: 
http://svn.apache.org/viewvc/hadoop/common/branches/branch-1-win/src/packages/win/template/conf/log4j.properties?rev=1490146&r1=1490145&r2=1490146&view=diff
==============================================================================
--- 
hadoop/common/branches/branch-1-win/src/packages/win/template/conf/log4j.properties
 (original)
+++ 
hadoop/common/branches/branch-1-win/src/packages/win/template/conf/log4j.properties
 Thu Jun  6 05:20:14 2013
@@ -129,6 +129,10 @@ hadoop.metrics.log.level=WARN
 #log4j.logger.org.apache.hadoop.fs.FSNamesystem=DEBUG
 log4j.logger.org.apache.hadoop.metrics2=${hadoop.metrics.log.level}
 
+# Set the warning level to WARN to avoid having info messages leak
+# to the console
+log4j.logger.org.mortbay.log=WARN
+
 # Jets3t library
 log4j.logger.org.jets3t.service.impl.rest.httpclient.RestS3Service=ERROR
 


Reply via email to