--- /etc/cron.d/maas_remote_syslog_compress 2014-07-03 10:54:40.316862437 +0200 +++ /etc/cron.d/maas_remote_syslog_compress.fixed 2014-07-03 10:55:49.656221799 +0200 @@ -1,2 +1,2 @@ -# Compress log files not changed in more than 48 hours: -30 4 * * * root find /var/log/maas/rsyslog -type f -mtime +2 -exec bzip2 '{}' \; +# Compress log files not changed in more than 48 hours and not already compressed: +30 4 * * * root find /var/log/maas/rsyslog -type f -mtime +2 -not -name '*.bz2' -exec bzip2 '{}' \;