Menu

#204 fileappender with 0 as maxBackupIndex

future
open
None
5
2013-08-14
2007-02-28
No

When I tried to do a daily rolling file appender with 0 set as the maxBackupIndex, it didn't act as I expected. I did a small mod which, when maxBackupIndex is set to 0, will open the current file in append mode.

Previous behavior would copy current contents to a .1 file. If there were several restarts, loss of log data would result.

Discussion

  • Steve Hartmann

    Steve Hartmann - 2007-02-28
     
  • Václav Haisman

    Václav Haisman - 2013-07-14

    Ticket moved from /p/log4cplus/patches/14/

     
  • Václav Haisman

    Václav Haisman - 2013-08-14
    • assigned_to: Václav Zeman
    • Group: --> future
     

Log in to post a comment.