Package: apt-cacher-ng
Version: 3.7.4-1+b2
Followup-For: Bug #1019500
X-Debbugs-Cc: debianbts-20230827181...@racbu.de

Dear Maintainer,

I get the daily cron error mail, too.

/etc/cron.daily/apt-cacher-ng seems to do daily housekeeping.
xz is only used to compress logfiles.

This gets me wondering. Would it be better to outsource this job to
logrotate? Especially when there is already a
/etc/logrotate.d/apt-cacher-ng config file?

The following config snipplet is maybe sufficient?

----------------------------------------8<-----------------
/var/log/apt-cacher-ng/maint_*.log.html {
        daily
        missingok
        rotate 10
        compress
        delaycompress
        notifempty
}
-------------------------------->8-------------------------

Thanks for your support.
Thomas

Reply via email to