logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: DailyRollingFileAppender does not rollover when expected to
Date Sat, 02 Feb 2002 10:24:36 GMT
> DailyRollingFileAppender and DatedFileAppender have the same 
> problem, i.e.,
> they roll when first log attempt is made after midnight.

DatedFileAppender *doesn't* really have the same problem - there's no real "rollover" as such
- it just starts writing to a new file. The dated file should be there from the very start,
and you can grab that whenever you like. The only slight potential problem is that Java will
still have it open for writing - but that shouldn't stop your billing tool from reading it.

Jon

--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message