> # Information About System Message Logging

> With the system message logging software, you can save messages in a log file or direct the messages to other devices. By default, the switch logs normal but significant system messages to a log file and sends these messages to the system console. This feature provides you with the following capabilities:

> - Provides logging information for monitoring and troubleshooting
> - Allows you to select the types of captured logging information
> - Allows you to select the destination server to forward the captured logging information properly configured system message logging server.

> You can monitor system messages by clicking the Events tab on DCNM-SAN or by choosing Logs > Events > Current on Device Manager. You can also monitor system messages remotely by accessing the switch through Telnet, SSH, or the console port, or by viewing the logs on a system message logging server.

> Note When the switch first initializes, the network is not connected until initialization completes. Therefore, messages are not redirected to a system message logging server for a few seconds.

> Log messages are not saved across system reboots. However, a maximum of 100 log messages with a severity level of critical and below (levels 0, 1, and 2) are saved in NVRAM.

> Table 5-1 describes some samples of the facilities supported by the system message logs.

> Table 5-1 Internal Logging Facilities
> Facility Keyword | Description | Standard or Cisco MDS Specific
> --- | --- | ---
> acl | ACL manager | Cisco MDS 9000 Family specific
> all | All facilities | Cisco MDS 9000 Family specific
> auth | Authorization system | Standard
> authpriv | Authorization (private) system | Standard
> bootvar | Bootvar | Cisco MDS 9000 Family specific
> callhome | Call Home | Cisco MDS 9000 Family specific
> cron | Cron or at facility | Standard
> daemon | System daemons | Standard
> fcc | FCC | Cisco MDS 9000 Family specific
> fcdomain | fcdomain | Cisco MDS 9000 Family specific
> fcns | Name server | Cisco MDS 9000 Family specific
> fcs | FCS | Cisco MDS 9000 Family specific
> flogi | FLOGI | Cisco MDS 9000 Family specific
> fspf | FSPF | Cisco MDS 9000 Family specific
> ftp | File Transfer Protocol | Standard
> ipconf | IP configuration | Cisco MDS 9000 Family specific
> ipfc | IPFC | Cisco MDS 9000 Family specific
> kernel | Kernel | Standard
> local0 to local7 | Locally defined messages | Standard
> lpr | Line printer system | Standard
> mail | Mail system | Standard
> mcast | Multicast | Cisco MDS 9000 Family specific
> module | Switching module | Cisco MDS 9000 Family specific
> news | USENET news | Standard
> ntp | NTP | Cisco MDS 9000 Family specific
> platform | Platform manager | Cisco MDS 9000 Family specific
> port | Port | Cisco MDS 9000 Family specific
> port-channel | PortChannel | Cisco MDS 9000 Family specific
> qos | QoS | Cisco MDS 9000 Family specific
> rdl | RDL | Cisco MDS 9000 Family specific
> rib | RIB | Cisco MDS 9000 Family specific
> rscn | RSCN | Cisco MDS 9000 Family specific
> securityd | Security | Cisco MDS 9000 Family specific
> syslog | Internal system messages | Standard
> sysmgr | System manager | Cisco MDS 9000 Family specific
> tlport | TL port | Cisco MDS 9000 Family specific
> user | User process | Standard
> uucp | UNIX-to-UNIX Copy Program | Standard
> vhbad | Virtual host base adapter daemon | Cisco MDS 9000 Family specific
> vni | Virtual network interface | Cisco MDS 9000 Family specific
> vrrp_cfg | VRRP configuration | Cisco MDS 9000 Family specific
> vrrp_eng | VRRP engine | Cisco MDS 9000 Family specific
> vsan | VSAN system messages | Cisco MDS 9000 Family specific
> vshd | vshd | Cisco MDS 9000 Family specific
> wwn | WWN manager | Cisco MDS 9000 Family specific
> xbar | Xbar system messages | Cisco MDS 9000 Family specific
> zone | Zone server | Cisco MDS 9000 Family specific

> Table 5-2 describes the severity levels supported by the system message logs.

> Table 5-2 Error Message Severity Levels
> Level Keyword | Level | Description | System Message Definition
> --- | --- | --- | ---
> emergencies | 0 | System unusable | LOG_EMERG
> alerts | 1 | Immediate action needed | LOG_ALERT
> critical | 2 | Critical conditions | LOG_CRIT
> errors | 3 | Error conditions | LOG_ERR
> warnings | 4 | Warning conditions | LOG_WARNING
> notifications | 5 | Normal but significant condition | LOG_NOTICE
> informational | 6 | Informational messages only | LOG_INFO
> debugging | 7 | Debugging messages | LOG_DEBUG

> Note Refer to the Cisco MDS 9000 Family and Nexus 7000 Series System Messages Reference for details on the error log message format.

> This section includes the following topics:

> - Monitoring Syslog Server from DCNM-SAN
> - System Message Logging
> - SFP Diagnostics
> - Outgoing System Message Logging Server Facilities
> - System Message Logging Servers
> - System Message Logging Configuration Distribution
> - Fabric Lock Override

> Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.