From: Philipp Holzer Date: Sat, 2 Mar 2019 13:40:59 +0000 (+0100) Subject: Logger - Forgot Logger::init() with VoidLogger X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dd333c76f88c579a783232bfd0e8fa12e4d6b492;p=friendica.git Logger - Forgot Logger::init() with VoidLogger --- diff --git a/src/Factory/LoggerFactory.php b/src/Factory/LoggerFactory.php index 3658d33a51..340f5fa5c0 100644 --- a/src/Factory/LoggerFactory.php +++ b/src/Factory/LoggerFactory.php @@ -44,7 +44,9 @@ class LoggerFactory public static function create($channel, Configuration $config) { if (empty($config->get('system', 'debugging', false))) { - return new VoidLogger(); + $logger = new VoidLogger(); + Logger::init($logger); + return $logger; } $introspector = new Introspection(LogLevel::DEBUG, self::$ignoreClassList);