Administrator Guide

Changing System Logging Settings
You can change the default settings of the system logging by changing the severity level and the storage location.
The default is to log all messages up to debug level, that is, all system messages. By changing the severity level in the logging commands,
you control the number of system messages logged.
To specify the system logging settings, use the following commands.
Specify the minimum severity level for logging to the logging buer.
CONFIGURATION mode
logging buffered level
Specify the minimum severity level for logging to the console.
CONFIGURATION mode
logging console level
Specify the minimum severity level for logging to terminal lines.
CONFIGURATION mode
logging monitor level
Specify the minimum severity level for logging to a syslog server.
CONFIGURATION mode
logging trap level
Specify the minimum severity level for logging to the syslog history table.
CONFIGURATION mode
logging history level
Specify the size of the logging buer.
CONFIGURATION mode
logging buffered size
NOTE
: When you decrease the buer size, the operating system deletes all messages stored in the buer. Increasing the
buer size does not aect messages in the buer.
Specify the number of messages that the operating system saves to its logging history table.
CONFIGURATION mode
logging history size size
To view the logging buer and conguration, use the show logging command in EXEC privilege mode, as shown in the example for
Display the Logging Buer and the Logging Conguration.
To view the logging conguration, use the show running-config logging command in privilege mode, as shown in the example for
Congure a UNIX Logging Facility Level.
Conguring a UNIX Logging Facility Level
You can save system log messages with a UNIX system logging facility.
To congure a UNIX logging facility level, use the following command.
Specify one of the following parameters.
CONFIGURATION mode
70
Switch Management