logging.xml MaxHistory problem
Kristof Bajnok
bajnokk at niif.hu
Thu Oct 20 13:45:11 BST 2011
On 20/10/11 13:59, Manuel Haim wrote:
> The logfile rollover works fine, but the "MaxHistory" setting (as
> described in
> https://wiki.shibboleth.net/confluence/display/SHIB2/IdPProdLogging )
> does not always ensure that old log files will be removed. If no log
> data is written for a couple of days e.g. to the idp_audit.log (because
> nobody logged in at the IdP), the old logfiles will not be deleted on
> the next rollover.
I was also hit by this a couple of weeks ago. It's a known problem in
logback (probably the relevant issue is
http://jira.qos.ch/browse/LBCORE-147). Ugly as it is, I switched to
purge old log files based on mtime triggered by cron.
Kristof
More information about the users
mailing list