add setting for customzing webserver error-log level, fixes #650
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -191,6 +191,29 @@ return array(
|
||||
'apache2'
|
||||
)
|
||||
),
|
||||
'system_errorlog_level' => array(
|
||||
'label' => $lng['serversettings']['errorlog_level'],
|
||||
'settinggroup' => 'system',
|
||||
'varname' => 'errorlog_level',
|
||||
'type' => 'option',
|
||||
'default' => (\Froxlor\Settings::Get('system.webserver') == 'nginx' ? 'error' : 'warn'),
|
||||
'option_mode' => 'one',
|
||||
'option_options' => array(
|
||||
'emerg' => 'emerg',
|
||||
'alert' => 'alert',
|
||||
'crit' => 'crit',
|
||||
'error' => 'error',
|
||||
'warn' => 'warn',
|
||||
'notice' => 'notice',
|
||||
'info' => 'info',
|
||||
'debug' => 'debug'
|
||||
),
|
||||
'save_method' => 'storeSettingField',
|
||||
'websrv_avail' => array(
|
||||
'apache2',
|
||||
'nginx'
|
||||
)
|
||||
),
|
||||
'system_customersslpath' => array(
|
||||
'label' => $lng['serversettings']['customerssl_directory'],
|
||||
'settinggroup' => 'system',
|
||||
|
||||
@@ -43,7 +43,7 @@ return array(
|
||||
'settinggroup' => 'system',
|
||||
'varname' => 'dns_server',
|
||||
'type' => 'option',
|
||||
'default' => 'bind',
|
||||
'default' => 'Bind',
|
||||
'option_mode' => 'one',
|
||||
'option_options' => array(
|
||||
'Bind' => 'Bind9',
|
||||
|
||||
Reference in New Issue
Block a user