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); } /**