In the DailyRollingFileAppender class, the maxBackupIndex property seems to be not implemented.
Can I use the DailyRollingFileAppender and the RollingFileAppender at the same time? I want an appender that has both the property of DailyRollingFileAppender and the RollingFileAppender, which firstly rolling daily (just like DailyRollingFileAppender) and secondly rolling by size during the same day (just like RollingFileAppender).
--- old+++ new@@ -1,3 +1,2 @@-1,In the DailyRollingFileAppender class, the maxBackupIndex property seems to be not implemented.--2,Can I use the DailyRollingFileAppender and the RollingFileAppender at the same time? I want an appender that has both the property of DailyRollingFileAppender and the RollingFileAppender, which firstly rolling daily\(just like DailyRollingFileAppender\) and secondly rolling by size during the same day\(just like RollingFileAppender\).+1. In the `DailyRollingFileAppender` class, the `maxBackupIndex` property seems to be not implemented.+2. Can I use the `DailyRollingFileAppender` and the `RollingFileAppender` at the same time? I want an appender that has both the property of `DailyRollingFileAppender` and the `RollingFileAppender`, which firstly rolling daily (just like `DailyRollingFileAppender`) and secondly rolling by size during the same day (just like `RollingFileAppender`).
Group: --> future
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ad 1. The MaxBackupIndex is implemented but it likely does not do what you expect. From documentation for DailyRollingFileAppender:
"This property limits how many backup files are kept per single logging period; e.g. how many log.2009-11-07.1, log.2009-11-07.2 etc. files are kept."
ad 2. This is indeed not implemented. I will keep this ticket open for this feature request.
Is there any progress or plan of the "MixRollingFileAppender " I have requested? Thanks
Ticket moved from /p/log4cplus/feature-requests/27/
Diff: