Can someone please tell me how to use MaxBackupIndex in DailyRollingFileAppender.I know that the RollingFileAppender supports a maxBackupIndex property, but is there any workarounds for using MaxBackupIndex in DailyRollingFileAppender?
This feature is not available in current stable version (1.2) of Log4j.
Anyway you can explore the following: http://wiki.apache.org/logging-log4j/DailyRollingFileAppender