From 7f7ed16dc2c9a2cc54517e47a9f9b22f41665038 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Tue, 1 Jan 2019 19:37:10 +0100 Subject: [PATCH] Log format --- src/Util/LoggerFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/LoggerFactory.php b/src/Util/LoggerFactory.php index ac6f6c92d..d99093efe 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);