Florian Schaal
2014-10-17 a204303e5099dcb88e5e4760a09e7de9a96c4ea3
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");
            }