database:log:clear

Xóa các sự kiện từ DBLog table, filters là có thể sử dụng được

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