-
-
Notifications
You must be signed in to change notification settings - Fork 455
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
Implement a DBAL middleware for the profiler collector #1431
Comments
Duplicate of #1429? |
No. currently, our logger configuration covers 2 things:
#1429 is about replacing the first part by wiring the logging middleware shipped in DBAL 3.2+. So they are related, but not duplicate (see how I even referenced it in the description) |
…Logger (l-vo) This PR was merged into the 5.4 branch. Discussion ---------- [DoctrineBridge] Allow to use a middleware instead of DbalLogger | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Step toward the fix of doctrine/DoctrineBundle#1431 (mentioned too in #44313 and #44495) | License | MIT | Doc PR | The SqlLogger that is used in doctrine bridge and doctrine bundle has been deprecated and replaced by a system of Middleware. A work has started on Doctrine bundle with doctrine/DoctrineBundle#1456 and doctrine/DoctrineBundle#1472 This PR suggest to add a middleware thats covers what was previously done by `DbalLogger` and `DebugStack`. Another PR will follow in DoctrineBundle for the integration. Commits ------- 20d0806 Allow to use a middleware instead of DbalLogger
The middleware is implemented in symfony/symfony#45491 So it should be wired instead of the DbalLogger on supported Symfony and DBAL versions. |
done in #1517 |
Follows doctrine/dbal#4967
Maybe the Stopwatch integration should be a separate middleware than the collection of queries for the doctrine dbal panel.
Currently, we rely on a special SQLLogger to do that.
Refs #1429
The text was updated successfully, but these errors were encountered: