File wicd-logrotate.patch of Package wicd
--- in/other=wicd.logrotate.in.orig 2014-12-21 20:40:46.000000000 +0100
+++ in/other=wicd.logrotate.in 2021-04-26 09:52:53.891763814 +0200
@@ -1,6 +1,19 @@
%LOG%wicd.log {
+ # Add daily here to make daily compressed files, overrides global weekly
+ daily
+ # Keep 14 rotations (2 weeks), overrides global 4
+ rotate 14
+# # Use date extension, might be unneeded global also but seems unstable
+# dateext
+ # wicd-daemon rotates via /usr/share/wicd/daemon/wicd-daemon.py:1887 and
+ # /usr/lib/python2.7/site-packages/wicd/logfile.py:142 maxsize=360k
+ # so don't use dateext
+ nodateext
+ # Don't compress directly, wicd cannot reopen
+ delaycompress
missingok
notifempty
- size 30k
+ # Don't use size (which ignores times)
+ maxsize 1M
create %LOGPERMS% root %LOGGROUP%
}