Marius Cramer
2014-02-28 1aece9b8d53b51f3ce02241d96d7a1b2f38455db
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");
            }