Verifying the System Message Logging Configuration
Verifying the System Message Logging Configuration
To display system message logging configuration information, perform one of the following tasks:
Command
show logging console
show logging info
show logging last number-lines
show logging level [facility]
show logging logfile [start-time yyyy mmm dd
hh:mm:ss] [end-time yyyy mmm dd hh:mm:ss]
show logging module
show logging monitor
show logging nvram [last number-lines]
show logging server
show logging timestamp
Configuration Example for System Message Logging
This example shows how to configure system message logging:
configure terminal
logging console 3
logging monitor 3
logging logfile my_log 6
logging module 3
logging level aaa 2
logging timestamp milliseconds
logging server 172.28.254.253
logging server 172.28.254.254 5 facility local3
copy running-config startup-config
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
44
Configuring System Message Logging
Purpose
Displays the console logging configuration.
Displays the logging configuration.
Displays the last number of lines of the log file.
Displays the facility logging severity level
configuration.
Displays the messages in the log file.
Displays the module logging configuration.
Displays the monitor logging configuration.
Displays the messages in the NVRAM log.
Displays the syslog server configuration.
Displays the logging time-stamp units configuration.