Reputation:
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?
Upvotes: 28
Views: 79238
Reputation: 1615
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
Upvotes: 24