Add access.log to log rotation

This commit is contained in:
Retro_Guy 2021-05-16 01:26:43 -07:00
parent e96d74f6be
commit b42b0a71df
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ function log_rotate() {
global $logdir;
$rotate = filemtime($logdir.'/rotate');
if((time() - $rotate) > 86400) {
$log_files = array('nntp.log', 'spoolnews.log', 'nocem.log', 'newsportal.log', 'expire.log');
$log_files = array('nntp.log', 'spoolnews.log', 'nocem.log', 'newsportal.log', 'expire.log', 'access.log');
foreach($log_files as $logfile) {
$logfile=$logdir.'/'.$logfile;
if(!is_file($logfile)) {