bugsnag / bugsnag-laravel

BugSnag notifier for the Laravel PHP framework. Monitor and report Laravel errors.
https://docs.bugsnag.com/platforms/php/laravel/
MIT License
874 stars 129 forks source link

Filter log events being sent by log level #240

Closed scottconnerly closed 7 years ago

scottconnerly commented 7 years ago

Enhancement request:

Currently, every Log event is always sent to Bugsnag. It would be great to have a config that allows us to exclude debug, info level log events.

GrahamCampbell commented 7 years ago

Debug and info logs are not sent to Bugsnag at the moment. Only notice logs are sent to bugsnag as info, warning as warning, and others as errors. :)

GrahamCampbell commented 7 years ago

Info and debug are captured as breadcrumbs, which may never get set. If you want to change this, the easiest way to customize this is to extend one of our psr loggers. :)