[logback-dev] [Bug 77] New: Add cleanup to TimeBasedRollingPolicy
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Sat Jun 2 00:21:22 CEST 2007
http://bugzilla.qos.ch/show_bug.cgi?id=77
Summary: Add cleanup to TimeBasedRollingPolicy
Product: logback-core
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P1
Component: Appender
AssignedTo: logback-dev at qos.ch
ReportedBy: agerwe at acxiom.com
The TimeBasedRollingPolicy class is very convenient for complex applications,
but it still leaves us with the task of manually deleting old log files. It
would be very nice if, like FixedWindowRollingPolicy, TimeBasedRollingPolicy
had an option to keep only up to _n_ time windows.
E.g., I'd like to configure LOGBack to keep the last 30 days (or last 3 months,
rotated monthly) of files with the TimeBasedRollingPolicy. I could use the
FixedWindowROollingPolicy for this, but it's more cumbersome and I prefer to
have the date in the file name.
Software should do the tricky stuff once for everybody to reuse. :-) Thanks
again for the excellent LOGBack, I can't rave enough about how much an
improvement it, along with SLF4J, is.
--
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the logback-dev
mailing list