From 4e7fed61f442dfefc8787f4ba2758d10624e389a Mon Sep 17 00:00:00 2001 From: gitressa <3491208+gitressa@users.noreply.github.com> Date: Thu, 31 Oct 2024 20:00:00 +0100 Subject: [PATCH] Update WatchdogCommands.php (#6152) - Fixes #6148 --- src/Commands/core/WatchdogCommands.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Commands/core/WatchdogCommands.php b/src/Commands/core/WatchdogCommands.php index 17ed7f130e..9cfec17fa2 100644 --- a/src/Commands/core/WatchdogCommands.php +++ b/src/Commands/core/WatchdogCommands.php @@ -53,6 +53,7 @@ public function __construct(protected Connection $connection) #[CLI\Usage(name: 'drush watchdog:show --severity=Notice', description: 'Show a listing of most recent 10 messages with a severity of notice.')] #[CLI\Usage(name: 'drush watchdog:show --severity-min=Warning', description: 'Show a listing of most recent 10 messages with a severity of warning or higher.')] #[CLI\Usage(name: 'drush watchdog:show --type=php', description: 'Show a listing of most recent 10 messages of type php')] + #[CLI\Usage(name: 'drush watchdog:show --filter="type!=locale"', description: 'Exclude rows via the negation operator !')] #[CLI\FieldLabels(labels: [ 'wid' => 'ID', 'type' => 'Type',