feat: add new stackerrorlog log channel (#5578)

This commit is contained in:
Alexis Saettler
2021-10-08 23:11:25 +02:00
committed by GitHub
parent 0e989fec35
commit 5fd6eb2955
+9 -4
View File
@@ -36,6 +36,10 @@ return [
'channels' => ['single'],
'ignore_exceptions' => false,
],
'stackerrorlog' => [
'driver' => 'stack',
'channels' => ['errorlog', 'papertrail', 'sentry'],
],
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
@@ -54,10 +58,6 @@ return [
'emoji' => ':boom:',
'level' => 'critical',
],
'papertrailsyslog' => [
'driver' => 'stack',
'channels' => ['papertrail', 'syslog'],
],
'papertrailerrorlog' => [
'driver' => 'stack',
'channels' => ['papertrail', 'errorlog'],
@@ -71,6 +71,11 @@ return [
'port' => env('PAPERTRAIL_PORT'),
],
],
'sentry' => [
'driver' => 'sentry',
'level' => 'debug',
'bubble' => true,
],
'stderr' => [
'driver' => 'monolog',
'handler' => StreamHandler::class,