Skip to content

Commit 81bf9e7

Browse files
Remove unwanted call to include stack traces (#47687)
1 parent ecbc2c9 commit 81bf9e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Illuminate/Log/LogManager.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,7 @@ protected function prepareHandler(HandlerInterface $handler, array $config = [])
471471
*/
472472
protected function formatter()
473473
{
474-
return tap(new LineFormatter(null, $this->dateFormat, true, true), function ($formatter) {
475-
$formatter->includeStacktraces();
476-
});
474+
return new LineFormatter(null, $this->dateFormat, true, true, true);
477475
}
478476

479477
/**

0 commit comments

Comments
 (0)