Hi Eremikhin,
Thank you for the detailed information!
# 30-day backup
# log4j.appender.DRFA.MaxBackupIndex=30
Since the comment is confusing to the user,
I think it should be removed.
I've filed a jira to track this issue.
https://issues.apache.org/jira/browse/HADOOP-10525
Thanks,
Akira
Hi everyone!
I've started looking about logs retention on Hadoop and noticed
interesting option in default Hadoop log4j.properties configuration
# 30-day backup
# log4j.appender.DRFA.MaxBackupIndex=30
I've enabled it and it produced no effect on existing files even after
rotation happened.