Skip to content
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

Guzzle logging conflicts with MonologBundle's excluded_404s setting #73

Open
thewilkybarkid opened this issue Dec 2, 2014 · 0 comments

Comments

@thewilkybarkid
Copy link
Contributor

By default Monolog is attached to Guzzle clients through its Log plugin. I've found that Symfony 404s are still logged even thought they should be excluded, and I think that's the problem. (I've hit this when using the param converter, but it would happen elsewhere too.)

My understanding is that as the Guzzle exception happens first (and the Log plugin sets it to the ERROR level) it activates the ErrorLevelActivationStrategy.

It would be useful to have the Guzzle exception ignored if it's followed by a Symfony 404.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant