Abhishek Mundewal created LOGBACK-1341:
------------------------------------------
Summary: SizeAndTimeBasedRollingPolicy does not zip all the files
on day change
Key: LOGBACK-1341
URL: https://jira.qos.ch/browse/LOGBACK-1341
Project: logback
Issue Type: Bug
Components: logback-core
Affects Versions: 1.2.3
Environment:
Reporter: Abhishek Mundewal
Assignee: Logback dev list
SizeAndTimeBasedRollingPolicy does not zip all the files on day change. Due to
that it does not clean/delete the older (older than MaxHistory) files.
We've the application those are generating big (2GB/3GB) log files on daily
basis, so that's why we moved to SizeAndTimeBasedRollingPolicy from
TimeBasedRollingPolicy, but here is a problem that
(SizeAndTimeBasedRollingPolicy) does not zip/archive all the files on day
change, that's why when max history reached the files which were
archived/zipped were deleted but rest were left there.
I googled but did not find any solution for that.
Please consider adding this feature to Logback and feel free to contact me if
further clarification is required.
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev