Skip to content

Commit 94b093e

Browse files
committed
removed redundant log warning if goaccess.conf does not exist
1 parent 9bc41de commit 94b093e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3054,9 +3054,7 @@ private function goaccess_update ($data, $web_config) {
30543054

30553055
if(is_file($goaccess_conf) && (filesize($goaccess_conf) > 0)) {
30563056
$app->log('Created GoAccess config file: '.$goaccess_conf, LOGLEVEL_DEBUG);
3057-
} else {
3058-
$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);
3059-
}
3057+
}
30603058

30613059
if(is_file($data['new']['document_root']."/" . $web_folder . "/stats/index.html")) $app->system->unlink($data['new']['document_root']."/" . $web_folder . "/stats/index.html");
30623060
if(file_exists("/usr/local/ispconfig/server/conf-custom/goaccess_index.php.master")) {

server/plugins-available/nginx_plugin.inc.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2603,8 +2603,6 @@ private function goaccess_update ($data, $web_config) {
26032603

26042604
if(is_file($goaccess_conf) && (filesize($goaccess_conf) > 0)) {
26052605
$app->log('Created GoAccess config file: '.$goaccess_conf, LOGLEVEL_DEBUG);
2606-
} else {
2607-
$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);
26082606
}
26092607

26102608
if(is_file($data['new']['document_root']."/" . $web_folder . "/stats/index.html")) $app->system->unlink($data['new']['document_root']."/" . $web_folder . "/stats/index.html");

0 commit comments

Comments
 (0)