SourceForge has been redesigned. Learn more.
Close

#177 a rolling-appenders question

future
open
Appenders (2)
5
2013-08-14
2012-03-27
No
  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).

Discussion

  • Václav Haisman

    Václav Haisman - 2012-03-27
    • assigned_to: nobody --> wilx
     
  • Václav Haisman

    Václav Haisman - 2012-03-27

    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.

     
  • Václav Haisman

    Václav Haisman - 2012-03-27
    • labels: --> Appenders
     
  • guang11cheng

    guang11cheng - 2012-07-14

    Is there any progress or plan of the "MixRollingFileAppender " I have requested? Thanks

     
  • Václav Haisman

    Václav Haisman - 2013-07-14

    Ticket moved from /p/log4cplus/feature-requests/27/

     
  • Václav Haisman

    Václav Haisman - 2013-08-14
    • Description has changed:

    Diff:

    --- 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
     

Log in to post a comment.