drush watchdog-deletefor drush 7x
Delete watchdog messages.
drush watchdog-delete
-
Aliases
watchdog-delete has 2 alias/es:
drush wd-del
drush wd-delete
-
Options
watchdog-delete accepts 2 option/s:
--severity : Delete messages of a given severity level.
--type : Delete messages of a given type.
-
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