Browse Source

HDFS-6408. Remove redundant definitions in log4j.properties. Contributed by Abhiraj Butala.

(cherry picked from commit 232eca944a721c62f37e9012546a7fa814da6e01)
Akira Ajisaka 10 years ago
parent
commit
7aded71f3a

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -35,6 +35,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-6263. Remove DRFA.MaxBackupIndex config from log4j.properties.
     (Abhiraj Butala via aajisaka)
 
+    HDFS-6408. Remove redundant definitions in log4j.properties.
+    (Abhiraj Butala via aajisaka)
+
   OPTIMIZATIONS
 
   BUG FIXES

+ 0 - 5
hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/src/test/resources/log4j.properties

@@ -53,8 +53,3 @@ log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} - %-5p - [%t:%C{
 
 # Max log file size of 10MB
 log4j.appender.ROLLINGFILE.MaxFileSize=10MB
-
-log4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout
-log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n
-
-