Skip to content
Snippets Groups Projects
Commit e0759255 authored by a.croix's avatar a.croix
Browse files

Change default log channel for exceptions

parent 97f719b4
No related branches found
No related tags found
1 merge request!1Include Wowa Training
Pipeline #5830 passed
......@@ -39,7 +39,7 @@ class Handler extends ExceptionHandler
if ($this->shouldntReport($exception)) {
return;
}
\Log::channel('daily')->error(
\Log::channel('single')->error(
$exception->getMessage(),
array_merge($this->context(), ['exception' => $exception])
);
......
......@@ -37,7 +37,7 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single', 'training_logger'],
'channels' => 'single',
'ignore_exceptions' => false,
],
'custom' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment