From: Philipp Holzer Date: Tue, 1 Jan 2019 18:37:10 +0000 (+0100) Subject: Log format X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7f7ed16dc2c9a2cc54517e47a9f9b22f41665038;p=friendica.git Log format --- diff --git a/src/Util/LoggerFactory.php b/src/Util/LoggerFactory.php index ac6f6c92df..d99093efe4 100644 --- a/src/Util/LoggerFactory.php +++ b/src/Util/LoggerFactory.php @@ -70,7 +70,7 @@ class LoggerFactory if ($logger instanceof Monolog\Logger) { $fileHandler = new Monolog\Handler\StreamHandler($stream . ".1", Monolog\Logger::toMonologLevel($level)); - $formatter = new Monolog\Formatter\LineFormatter("%channel% [%level_name%]: %message% %context% %extra%"); + $formatter = new Monolog\Formatter\LineFormatter("%datetime% %channel% [%level_name%]: %message% %context% %extra%\n"); $fileHandler->setFormatter($formatter); $logger->pushHandler($fileHandler);