HADOOP-10525. Remove DRFA.MaxBackupIndex config from log4j.properties (aajisaka)
(cherry picked from commit 03a5e04d5b
)
This commit is contained in:
parent
58d7d1efc6
commit
71c60af84e
|
@ -149,6 +149,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
|
|
||||||
HADOOP-11317. Increment SLF4J version to 1.7.10. (Tim Robertson via ozawa)
|
HADOOP-11317. Increment SLF4J version to 1.7.10. (Tim Robertson via ozawa)
|
||||||
|
|
||||||
|
HADOOP-10525. Remove DRFA.MaxBackupIndex config from log4j.properties
|
||||||
|
(aajisaka)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
HADOOP-11323. WritableComparator#compare keeps reference to byte array.
|
||||||
|
|
|
@ -54,11 +54,9 @@ log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n
|
||||||
log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender
|
log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender
|
||||||
log4j.appender.DRFA.File=${hadoop.log.dir}/${hadoop.log.file}
|
log4j.appender.DRFA.File=${hadoop.log.dir}/${hadoop.log.file}
|
||||||
|
|
||||||
# Rollver at midnight
|
# Rollover at midnight
|
||||||
log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
|
log4j.appender.DRFA.DatePattern=.yyyy-MM-dd
|
||||||
|
|
||||||
# 30-day backup
|
|
||||||
#log4j.appender.DRFA.MaxBackupIndex=30
|
|
||||||
log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
|
log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
|
||||||
|
|
||||||
# Pattern format: Date LogLevel LoggerName LogMessage
|
# Pattern format: Date LogLevel LoggerName LogMessage
|
||||||
|
|
Loading…
Reference in New Issue