Marius Cramer
2014-07-08 341ef7175af7c8f21d27262b58da8f5bc2c06ef0
server/lib/classes/cron.d/200-logfiles.inc.php
@@ -125,7 +125,7 @@
            }
            
            // compress current logfile
            if(is_file($cron_logfile) && filesize($cron_logfile) > 10000000) {
            if(is_file($cron_logfile)) {
               exec("gzip -c $cron_logfile > $cron_logfile.1.gz");
               exec("cat /dev/null > $cron_logfile");
            }