Return-Path: Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: (qmail 74896 invoked from network); 19 Sep 2007 18:37:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2007 18:37:16 -0000 Received: (qmail 63631 invoked by uid 500); 19 Sep 2007 18:37:07 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 63607 invoked by uid 500); 19 Sep 2007 18:37:07 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 63596 invoked by uid 99); 19 Sep 2007 18:37:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 11:37:07 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 18:37:15 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id BF4827141FE; Wed, 19 Sep 2007 11:36:54 -0700 (PDT) From: bugzilla@apache.org To: log4j-dev@logging.apache.org Subject: DO NOT REPLY [Bug 43374] - DailyRollingFileAppender may lose messages during failed rollover In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20070919183654.BF4827141FE@brutus.apache.org> Date: Wed, 19 Sep 2007 11:36:54 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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