logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Seydoux <florian.seyd...@gmail.com>
Subject Re: Best strategy to ensure a rolling when an application is launched
Date Tue, 19 Jun 2007 07:55:37 GMT
Curt Arnold wrote:
> 
> logcxx::rolling::RollingFileAppender supports user-provided
> TriggeringPolicy's (which determines when a rollover should be
> attempted) and RollingPolicy's (which determine what file names to
> use).  In this case, you could write your own TriggeringPolicy that
> triggers a rollover on application start up or when the application
> rolls over a date change or some other criteria.
> 

Great --  I'll try that.

Thanks a lot.


Mime
View raw message