From 5514e525ade39e3c74b31f2ef7dbadca2127c2da Mon Sep 17 00:00:00 2001 From: fguimier Date: Thu, 10 Dec 2020 11:55:37 +0100 Subject: [PATCH] Update messenger.rst Update exemples for the messenger:failed:show command Add documentation regarding this PR https://github.com/symfony/symfony/pull/39330 --- messenger.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/messenger.rst b/messenger.rst index e4d1179da8a..f4e535f7427 100644 --- a/messenger.rst +++ b/messenger.rst @@ -807,8 +807,17 @@ to retry them: .. code-block:: terminal - # see all messages in the failure transport + # see all messages in the failure transport with a default limit of 50 $ php bin/console messenger:failed:show + + # see the 10 first messages + $ php bin/console messenger:failed:show --max=10 + + # see only MyClass messages + $ php bin/console messenger:failed:show --class-filter='MyClass' + + # see the number of messages by message class + $ php bin/console messenger:failed:show --stats # see details about a specific failure $ php bin/console messenger:failed:show 20 -vv