Logging File - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

49
959
Example
The following example limits logging messages displayed on the console to
messages with severity level errors.
switchxxxxxx(config)#

49.7 logging file

To limit SYSLOG messages sent to the logging file to messages with a specific
severity level, use the logging file Global Configuration mode command. To cancel
sending messages to the file, use the no form of this command.
Syntax
level
logging file
no logging file
Parameters
level—Specifies the severity level of SYSLOG messages sent to the logging file.
The possible values are: emergencies, alerts, critical, errors, warnings,
notifications, informational and debugging.
Default Configuration
The default severity level is errors.
Command Mode
Global Configuration mode
Example
The following example limits SYSLOG messages sent to the logging file to
messages with severity level alerts.
switchxxxxxx(config)#
logging console errors
logging file alerts
OL-32830-01 Command Line Interface Reference Guide
SYSLOG Commands

Advertisement

Table of Contents
loading

Table of Contents