Skip to content

[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

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

MatTheCat
Copy link
Contributor

Q A
Branch? 6.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #48040
License MIT
Doc PR N/A

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.

@maxbeckers
Copy link
Contributor

This would be a BC break or am I wrong?

@MatTheCat
Copy link
Contributor Author

MatTheCat commented Oct 29, 2022

@maxbeckers how? Are compiler passes configurators part of Symfony’s public API?

@maxbeckers
Copy link
Contributor

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.

@fabpot fabpot modified the milestones: 6.2, 6.3 Nov 1, 2022
@MatTheCat
Copy link
Contributor Author

@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?

@nicolas-grekas nicolas-grekas modified the milestones: 6.3, 6.2 Nov 5, 2022
@fabpot
Copy link
Member

fabpot commented Nov 6, 2022

In that case, 6.2 is indeed the right target.

@nicolas-grekas
Copy link
Member

Thank you @MatTheCat.

@nicolas-grekas nicolas-grekas merged commit 4618856 into symfony:6.2 Nov 10, 2022
@MatTheCat MatTheCat deleted the ticket_48040 branch November 10, 2022 09:06
@fabpot fabpot mentioned this pull request Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FrameworkBundle][HttpKernel] Logger debug mode disabled
6 participants