tbrehm
2010-06-29 c211f7aef368f5a5395b5f938524879da3d00271

1 files modified
2 ■■■ changed files
server/cron_daily.php 2 ●●● patch | view | raw | blame | history
server/cron_daily.php
@@ -228,7 +228,7 @@
#######################################################################################################
// rotate the ispconfig.log when it exceeds a size of 10 MB
$logfile = '/var/log/ispconfig/ispconfig.log');
$logfile = '/var/log/ispconfig/ispconfig.log';
if(is_file($logfile) && filesize($logfile) > 10000000) {
    exec("gzip -c $logfile > $logfile.1.gz");
    exec("cat /dev/null > $logfile");