Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#177 a rolling-appenders question

future
open
Václav Zeman
Appenders (2)
5
2013-08-14
2012-03-27
guang11cheng
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 Zeman
    Václav Zeman
    2012-03-27

    • assigned_to: nobody --> wilx
     
  • Václav Zeman
    Václav Zeman
    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 Zeman
    Václav Zeman
    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 Zeman
    Václav Zeman
    2013-07-14

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

     
  • Václav Zeman
    Václav Zeman
    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