Marius Cramer
2014-04-30 8edabf647814a012307bbf68628e4656ecf89eff
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");
            }