beautypg.com

Logging file, Clear logging file, Logging file clear logging file – Allied Telesis AT-S95 CLI (AT-8000GS Series) User Manual

Page 301

background image

Syslog Commands

Page 301

logging file

The logging file Global Configuration mode command limits syslog messages sent to the logging file based on
severity. Use the no form of this command to cancel using the logging file.

Syntax

logging file level

no logging file

Parameters

level — Specifies the severity level of syslog messages sent to the logging file. Possible values:

emergencies, alerts, critical, errors, warnings, notices, informational and debugging.

Default Configuration

The default severity level is errors.

Command Mode

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example limits syslog messages sent to the logging file based on severity level alerts.

clear logging file

The clear logging file Privileged EXEC mode command clears messages from the logging file.

Syntax

clear logging file

Parameters

This command has no arguments or keywords.

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC mode

User Guidelines

There are no user guidelines for this command.

console(config)# logging file alerts