I have the same problem as in previous two posts. The Webalizer gets stats OK but the ispconfig_acces_log files after that are not purged. After running through the code I found where may be the problem:
line 165 in logs.php:
Code:
if (preg_match('/^'.basename($dir).'_/', $file)) {
change to this code:
Code:
if (preg_match('/^ispconfig_access_log_/', $file)) {
Now the script gets old logs filenames correctly and delete them.