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 Gerrit Grobbelaar <ge...@jeasy.net> on 2008/03/27 11:24:54 UTC

DailyRollingFileAppender - force rollover

Hi all,

Is there a config way of telling the appender to rollover not only when there 
is log activity, but also when the time goes from AM to PM (midday) and from 
PM to AM (midnight) automatically without any log activity at those times?

Any input is greatly appreciated,
Gerrit

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: DailyRollingFileAppender - force rollover

Posted by "James A. N. Stauffer" <st...@gmail.com>.
I think the next version of log4j is supposed to support that but you
would have to write your own appender to get that in the current
version.

On Thu, Mar 27, 2008 at 5:24 AM, Gerrit Grobbelaar <ge...@jeasy.net> wrote:
> Hi all,
>
>  Is there a config way of telling the appender to rollover not only when there
>  is log activity, but also when the time goes from AM to PM (midday) and from
>  PM to AM (midnight) automatically without any log activity at those times?
>
>  Any input is greatly appreciated,
>  Gerrit
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>  For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>



-- 
James A. N. Stauffer http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org