Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Feature][Messenger] Add message in logs #59543

Copy link
Copy link
Open
@AurelienPillevesse

Description

@AurelienPillevesse
Issue body actions

Description

Currently, when using symfony/messenger, we can not see the message which failed in the logs.

When looking at this :
https://github.com/symfony/symfony/blob/7.3/src/Symfony/Component/Messenger/EventListener/SendFailedMessageToFailureTransportListener.php#L61

Or this :
https://github.com/symfony/symfony/blob/7.3/src/Symfony/Component/Messenger/EventListener/SendFailedMessageForRetryListener.php#L73

The message is not added in the log so when we look at logs. We can't see which message with which data have failed.
The idea is to add the message content to debug easily.

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.