mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-03 03:54:25 +02:00
Fix CLI complaining without log config
This commit is contained in:
parent
5c0441bc06
commit
c76729a821
@ -75,8 +75,8 @@ class Cli extends ApplicationBootstrap
|
|||||||
|
|
||||||
protected function fixLoggingConfig()
|
protected function fixLoggingConfig()
|
||||||
{
|
{
|
||||||
$conf = & $this->getConfig()->logging;
|
$conf = $this->config->logging;
|
||||||
if ($conf->type === 'stream') {
|
if (! isset($conf->type) || $conf->type === 'stream') {
|
||||||
$conf->level = $this->verbose;
|
$conf->level = $this->verbose;
|
||||||
$conf->target = 'php://stderr';
|
$conf->target = 'php://stderr';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user