Reference Guide

To specify the system logging settings, use the following commands.
Specify the minimum severity level for logging to the logging buffer.
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 buffer.
CONFIGURATION mode
logging buffered size
NOTE: When you decrease the buffer size, the operating system deletes all messages stored in the buffer. Increasing
the buffer size does not affect messages in the buffer.
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 buffer and configuration, use the show logging command in EXEC privilege mode, as shown in the
example for Display the Logging Buffer and the Logging Configuration.
To view the logging configuration, use the show running-config logging command in privilege mode, as shown in the
example for Configure a UNIX Logging Facility Level.
Configuring a UNIX Logging Facility Level
You can save system log messages with a UNIX system logging facility.
To configure a UNIX logging facility level, use the following command.
Specify one of the following parameters.
CONFIGURATION mode
logging facility [facility-type]
auth (for authorization messages)
cron (for system scheduler messages)
daemon (for system daemons)
kern (for kernel messages)
local0 (for local use)
local1 (for local use)
local2 (for local use)
local3 (for local use)
local4 (for local use)
local5 (for local use)
local6 (for local use)
local7 (for local use)
lpr (for line printer system messages)
56
Switch Management