You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Metzler <me...@lkv-wl.de> on 2002/01/31 17:34:08 UTC
Re: DailyRollingFileAppenderExt
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>