Package: logrotate
Version: 3.18.1-1
Severity: wishlist

Would you mind to enable logrotate logging for Bookworm by default?
logrotate appears to be excellent in logging. Its a shame that this
is not used. And since you have to wait 24h for the next run (unless
you enable hourly rotation) it is even more painful to have no log
when you need it.

This would be very helpful to catch unwanted config files in logrotate.d,
not caught by tabooext, for example.


--- /lib/systemd/system/logrotate.service       2020-08-21 15:02:38.000000000 
+0200
+++ /etc/systemd/system/logrotate.service       2021-05-30 06:48:42.743903674 
+0200
@@ -6,7 +6,7 @@

 [Service]
 Type=oneshot
-ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
+ExecStart=/usr/sbin/logrotate -l /var/log/logrotate.log /etc/logrotate.conf

 # performance options
 Nice=19


The cron script should be modified accordingly (not shown here).


Thanx in advance

Harri

Reply via email to