clear logging logfile

Use this command to clear the existing contents of the configured logging logfile.

If the name of the configured logging log file is “mylogfile”, this command clears only the log file mylogfile. But the other rotated or compressed log files are untouched.

Command Syntax

Copy
clear logging logfile

Parameters

None

Default

None

Command Mode

Execution mode

Applicability

This command was introduced before OcNOS version 3.0.

Example

Copy
#clear logging logfile