database:log:clear

Remove events from DBLog table, filters are available

Usage:

drupal database:log:clear [arguments] [options]
dblc

Available options

OptionDetails

--type

Filter events by a specific type

--severity

Filter events by a specific level of severity

--user-id

Filter events by a specific user id

Available arguments

ArgumentDetails

event-id

DBLog event ID

Examples

Clear the database log from DBLog table

drupal database:log:clear \
  <database>

Clear the database log from DBLog table using filters

drupal database:log:clear \
  <database> \
  --type=TYPE \
  --severity=SEVERITY