[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    Re: DailyRollingFileAppenderExt
From:       Metzler <metzler () lkv-wl ! de>
Date:       2002-01-31 16:34:08
[Download RAW message or body]

David Sanders schrieb:
> 
> Does DailyRollingFileAppenderExt fix the problem where a daily file doesn't
> roll over until the first write to the file after midnight?  I want the
> files to roll over, complete with having the yy-mm-dd appended to their
> filename at midnight, and don't want to wait for the next record to be
> written to it.
> 
> Thank you.
> 
> David

Hi David,

it does!
It creates a separate log file for every day that it runs, regardless of
the time of the day the logging takes place.
It appends the date just before the last dot in the filename which you
specify in the configuration file, even for the current file. 

Chris

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic