Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: use valid severity in example usage #5246

Merged
merged 1 commit into from Sep 20, 2022
Merged

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Sep 20, 2022

--severity=notice gives an error message:

$ drush watchdog:delete --severity=notice

In WatchdogCommands.php line 310:

  Unknown severity level: notice.
  Valid severity levels are: Emergency(0), Alert(1), Critical(2), Error(3), Warning(4), Notice(5), Info(6), Debug(7).

--severity=Notice works:

$ drush watchdog:delete --severity=Notice
All messages with severity = 5 will be deleted.

 Do you want to continue? (yes/no) [yes]:
 > yes

 [success] 184 watchdog messages have been deleted.

@weitzman weitzman enabled auto-merge (squash) September 20, 2022 13:01
@weitzman weitzman merged commit a6b2162 into drush-ops:11.x Sep 20, 2022
@hugovk hugovk deleted the patch-1 branch September 20, 2022 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants