Skip to content

[Messenger] Document the logging middleware - #22733

Open
lacatoire wants to merge 2 commits into
symfony:8.2from
lacatoire:docs/messenger-logging-middleware
Open

lacatoire wants to merge 2 commits into
symfony:8.2from
lacatoire:docs/messenger-logging-middleware

Conversation

@lacatoire

Copy link
Copy Markdown
Contributor

Documents the optional LoggingMiddleware added in symfony/symfony#64621.

Covers how to enable it per bus (it is in no default stack) and that its position decides what is measured, the three log messages with their levels and context keys on the messenger channel, the sent-vs-handled distinction when building dashboards, and the fact that memory_usage is a memory_get_usage() delta that can be negative.

Fixes #22725

@lacatoire
lacatoire force-pushed the docs/messenger-logging-middleware branch from d7c1282 to 849ed7f Compare September 14, 2026 15:27
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.

2 participants