logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bois, Bernard" <Bernard.B...@arris.com>
Subject Limiting the number of backups with time-triggered rollover
Date Mon, 07 Mar 2016 21:05:02 GMT
Good day,

We are using the latest release of log4cxx (0.10.0).

I'd like to know if it is possible to specify a maximum number of backups when a time-triggered
rollover policy is used.

It appears both classes supporting time-based rollovers (DailyRollingFileAppender and rolling::RollingFileAppender)
do not have such an option.
The 'original' RollingFileAppender class does have a maximum number of backups but only supports
size-based rollovers.

Thanks,


Bernard Bois
ARRIS

c +1 416 807 3136


Mime
View raw message