-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Split loggers debug compiler pass #48041
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
Conversation
d93eb06
to
3f17d62
Compare
This would be a BC break or am I wrong? |
@maxbeckers how? Are compiler passes configurators part of Symfony’s public API? |
My two thoughts were renaming the class and changing the priorities. It's only debug compiler passes, but wanted to at least note it. That's why I'm not sure if it's a BC break or not. |
3f17d62
to
7a3bbd1
Compare
@fabpot I see you changed the milestone to 6.3 but this PR is supposed to be a fix for a feature introduced in 6.2. Is that alright? |
In that case, 6.2 is indeed the right target. |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/EnableLoggerDebugModePass.php
Outdated
Show resolved
Hide resolved
7a3bbd1
to
980df7a
Compare
980df7a
to
926f3de
Compare
Thank you @MatTheCat. |
As the Monolog and HttpKernel’s loggers have nothing to do with each other I feel like giving each one its own compiler pass is best.