logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43374] - DailyRollingFileAppender may lose messages during failed rollover
Date Wed, 19 Sep 2007 18:36:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43374


carnold@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|DailyRollingFileAppender may|DailyRollingFileAppender may
                   |delete files during rollover|lose messages during failed
                   |                            |rollover




------- Additional Comments From carnold@apache.org  2007-09-19 11:36 -------
Committed changes in rev 577413.

I could not come up with a scenario where it would be undesirable to append to
the base log file name, so instead of calculating whether to append based on
rename failure, I just hard-coded it to append.  I created a much simpler test
to add to the existing DRFATestCase that fails with the old code.

Changed the bug title since the DRFA is expected to delete files, but not to
lose messages.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message