clear syslog

Deletes a system log file.

Syntax

clear syslog [<directory>] <file>

Syntax Description

Keyword
Description

directory

(Optional)The log directory containing the log file.

file

The name of the file to be deleted.

Defaults

If is not specified, the top-level log directory is assumed.

Usage Guidelines

This command deletes a system log file.

To see a list of system log files, use the show syslog ? command.

Examples

clear syslog backup.log
clear syslog slog 20240514-151755
show syslogwrite syslog

Last updated