Package: prosody
Version: 0.8.2-4
Severity: normal
Tags: patch

Hi,

My last logrotation produced a corrupted gzipped log in
/var/log/prosody/prosody.1.gz and cron mail reported
"logrotate: file size changed while zipping".

Looks like Prosody does not immediately close the old log
file before it is compressed.

Upstream recently added delaycompress option to logrotate:
http://hg.prosody.im/debian/rev/b3998cd5c1b9

Thanks,
Dara

-- Configuration Files:
/etc/logrotate.d/prosody changed:
/var/log/prosody/prosody.log /var/log/prosody/prosody.err {
        weekly
        rotate 52
        compress
        delaycompress
        create 640 prosody adm
        postrotate
                /etc/init.d/prosody reload > /dev/null
        endscript
        sharedscripts
        missingok
}


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to