drush watchdog:deletefor drush 9x
Delete watchdog log records.
drush watchdog:delete
-
Aliases
watchdog:delete has 4 alias/es:
drush wd-del
drush wd-delete
drush wd
drush watchdog-delete
-
Arguments
watchdog:delete accepts 1 argument/s:
substring : Delete all log records with this text in the messages.
-
Options
watchdog:delete accepts 5 option/s:
--severity
--severity : severity
--type
--type : type
--notify
--notify : notify
--druplicon
--druplicon : druplicon
--xh-link
--xh-link : xh-link
-
Examples
Delete all messages.
drush watchdog:delete all
Delete messages with id 64.
drush watchdog:delete 64
Delete messages containing the string "cron run succesful".
drush watchdog:delete "cron run succesful"
Delete all messages with a severity of notice.
drush watchdog:delete --severity=notice
Delete all messages of type cron.
drush watchdog:delete --type=cron
-
Comments
comments powered by Disqus