logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: dailyrollingfileappender - roll at given hour
Date Mon, 24 Apr 2006 12:36:51 GMT

On Apr 24, 2006, at 4:19 AM, Norbert Toth-Gati wrote:

> Hi,
>
> Is there a possibility to set the rolling of a file at a given  
> hour, for ex.
> at 15:00 hours?
> Is this feature supported already?
>
> Thanks in advance,
> Norbert


Not with DailyRollingFileAppender, but with the new  
org.apache.log4j.rolling.RollingFileAppender you can provide an  
implementation of TriggeringPolicy that triggers a roll at a your  
desired time. 

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


Mime
View raw message