Last time, I posted an older version of the DatedFileAppender patch
that actually introduced a new bug (it would append the date onto
yesterday's complete filename, including yesterday's date).  
Here's a patch that does not have that bug.  The patch file is still
with respect to Job Skeet's original DatedFileAppender
(http://www.mail-archive.com/log4j-dev@jakarta.apache.org/msg01049.html).

Jim

 <<log4j_contrib_datebugs.patch>>  <<log4j-contrib-src.jar>> 

>  -----Original Message-----
> From:         Doyle, Jim  
> Sent: Monday, January 07, 2002 9:56 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      [PATCH] DatedFileAppender.java
> 
> Here's a patch to Jon Skeet's DatedFileAppender which fixes 
> some potential problems
> in the date logic.  There's both a patch file which contains 
> the changes with respect to his
> initial version 
> (http://www.mail-archive.com/log4j-dev@jakarta.apache.org/msg0
> 1049.html) and a jar file containing the complete current 
> version of the source code.  I realize Ceki has a fix for the
> DailyRollingFileAppender restart problem in the 1.2 alpha, 
> but since we need to go ahead with 1.1.3 right now, 
> DatedFileAppender looks like the best option, and perhaps a 
> couple other people need a solution with 1.1.3 as well.
> 
> Jim
> 
> 
> 
>  << File: log4j_contrib_datebugs.patch >>  << File: 
> log4j-contrib-src.jar >> 

Attachment: log4j_contrib_datebugs.patch
Description: Binary data

Attachment: log4j-contrib-src.jar
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to