feat: add new stackerrorlog log channel (#5578)
This commit is contained in:
+9
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user