-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 exception are still logged in sentry #24
Comments
Could it be because you have the sentry default integration enabled ? |
thanks for your quick answer, maybe, where could I check that ? |
Start over, make sure you did not install the official Sentry Bundle https://github.com/getsentry/sentry-symfony. Follow this guide https://github.com/B-Galati/monolog-sentry-handler/blob/master/doc/guide-symfony.md. Otherwise make sure 'default_integrations' is set to |
thanks for the pointers, i'm checking that right now |
Indeed it was because I also had the sentry-symfony bundle installed, thanks a lot for your help |
Thanks, I am closing then 👍 |
I'm using symfony5.2 and version 1.2.2 of this bundle
my monolog.yaml looks like this
however despite the
excluded_http_codes
i still see the 40X errors sentryI discovered this while trying to add
exclude_404s
https://symfony.com/doc/current/logging/monolog_regex_based_excludes.html to only filters out some 404 , i discovered that actually with the current configuration I should have any in the first placeThe text was updated successfully, but these errors were encountered: