clear logging

Clears the log entries from the dynamic buffer, the static buffer, or the local buffer.
Syntax
clear logging [ dynamic-buffer | static-buffer ]
Parameters
dynamic-buffer
Clears log entries from the dynamic buffer.
static-buffer
Clears log entries from the static buffer.
Modes

Privileged EXEC mode

Examples

The following example clears the syslog messages stored in the local buffer.

device# clear logging

The following example clears the log entries from the dynamic buffer.

device# clear logging dynamic-buffer