From 212debe26bc0b456d98c4dd3f91f302909cd8021 Mon Sep 17 00:00:00 2001 From: "Md. Hazzaz Bin Faiz" Date: Sun, 9 Jul 2023 00:02:42 +0600 Subject: [PATCH] Remove unwanted call to include stack traces --- src/Illuminate/Log/LogManager.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Illuminate/Log/LogManager.php b/src/Illuminate/Log/LogManager.php index e02b066991a9..60498f4ef06d 100644 --- a/src/Illuminate/Log/LogManager.php +++ b/src/Illuminate/Log/LogManager.php @@ -471,9 +471,7 @@ protected function prepareHandler(HandlerInterface $handler, array $config = []) */ protected function formatter() { - return tap(new LineFormatter(null, $this->dateFormat, true, true), function ($formatter) { - $formatter->includeStacktraces(); - }); + return new LineFormatter(null, $this->dateFormat, true, true, true); } /**