diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index b348c823e68bfde9b7e1353a86812df5efbe28f3..582f005e49c4dc9b7ebf1b2d60b8cd86696b926d 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -3054,9 +3054,7 @@ class apache2_plugin { if(is_file($goaccess_conf) && (filesize($goaccess_conf) > 0)) { $app->log('Created GoAccess config file: '.$goaccess_conf, LOGLEVEL_DEBUG); - } else { - $app->log("No GoAccess base config found. Make sure that GoAccess is installed and that the goaccess.conf does exist in ".$goaccess_conf_dir.".", LOGLEVEL_WARN); - } + } if(is_file($data['new']['document_root']."/" . $web_folder . "/stats/index.html")) $app->system->unlink($data['new']['document_root']."/" . $web_folder . "/stats/index.html"); if(file_exists("/usr/local/ispconfig/server/conf-custom/goaccess_index.php.master")) { diff --git a/server/plugins-available/nginx_plugin.inc.php b/server/plugins-available/nginx_plugin.inc.php index 2b3223a9d905540ae937ca000cc6cd65deea5115..9beb579197ab16ff11bc6e5c3aca15eaa565e756 100644 --- a/server/plugins-available/nginx_plugin.inc.php +++ b/server/plugins-available/nginx_plugin.inc.php @@ -2603,8 +2603,6 @@ class nginx_plugin { if(is_file($goaccess_conf) && (filesize($goaccess_conf) > 0)) { $app->log('Created GoAccess config file: '.$goaccess_conf, LOGLEVEL_DEBUG); - } else { - $app->log("No GoAccess base config found. Make sure that GoAccess is installed and that the goaccess.conf does exist in ".$goaccess_conf_dir.".", LOGLEVEL_WARN); } if(is_file($data['new']['document_root']."/" . $web_folder . "/stats/index.html")) $app->system->unlink($data['new']['document_root']."/" . $web_folder . "/stats/index.html");