add setting for customzing webserver error-log level, fixes #650

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-02-12 17:38:46 +01:00
parent d0fb77f3e9
commit 73c05fb231
10 changed files with 44 additions and 4 deletions

View File

@@ -1050,7 +1050,7 @@ class Nginx extends HttpConfigBase
}
$logfiles_text .= "\t" . 'access_log ' . $access_log . ' ' . $logtype . ';' . "\n";
$logfiles_text .= "\t" . 'error_log ' . $error_log . ' error;' . "\n";
$logfiles_text .= "\t" . 'error_log ' . $error_log . ' ' . \Froxlor\Settings::Get('system.errorlog_level') . ';' . "\n";
if (Settings::Get('system.awstats_enabled') == '1') {
if ((int) $domain['parentdomainid'] == 0) {