Skip to content

Commit

Permalink
Merge pull request #34 from kyledoesdev/hotfix/readd-bugsnag
Browse files Browse the repository at this point in the history
fix logging for bugsnag
  • Loading branch information
kyledoesdev authored Nov 7, 2024
2 parents aad7d14 + 48d5c5a commit fa89000
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions bootstrap/providers.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

return [
Bugsnag\BugsnagLaravel\BugsnagServiceProvider::class,
App\Providers\AppServiceProvider::class,
];
6 changes: 5 additions & 1 deletion config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

'stack' => [
'driver' => 'stack',
'channels' => explode(',', env('LOG_STACK', 'single')),
'channels' => ['single', 'bugsnag'],
'ignore_exceptions' => false,
],

Expand Down Expand Up @@ -126,5 +126,9 @@
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],

'bugsnag' => [
'driver' => 'bugsnag',
],
],
];

0 comments on commit fa89000

Please sign in to comment.