2.5.5. clear logging

Syntax

clear logging (buffered|file)

Parameter


buffered Clear the log messages stored in the RAM.

file Clear the log messages stored in the Flash.


Default

Mode

Privileged EXEC

Usage

To clear the log messages from the internal logging buffer and flash, use the command clear logging in the Privileged EXEC mode.

Example

The following example clear the log messages stored in RAM and Flash.

Switch# clear logging buffered
Switch# clear logging file