Skip to main content

clearlog command

This command is used to clear the BMC event log.

Use the clearlog command to clear the event log of the BMC. You must have the authority to clear event logs to use this command.

Note
This command is intended only for support personnel use.
Syntax:
clearlog [-options]
Table 1. clearlog options
OptionDescriptionValues
-tEvent type, choose which type of event to clear. If not specified, all event types will be selected.
  • platform: Platform event type.
  • audit: Audit event type.
  • all: All event type, including platform event and audit event.
Example:
system> clearlog -t platform
ok
system> clearlog -t audit
ok
system> clearlog -t all
ok