Send documentation comments to mdsfeedback-doc@cisco.com
61-7
Cisco MDS 9000 Family Fabric Manager Configuration Guide
OL-17256-03, Cisco MDS NX-OS Release 4.x
Chapter 61 Configuring System Message Logging
System Message Logging Configuration
Figure 61-5 Switch Logging Tab in Fabric Manager
Step 5
Enter the name of the log file in the LogFile Name column in the row for that switch.
Step 6 Click the Apply Changes icon.
Note The configured log file is saved in the /var/log/external directory. The location of the log file cannot be
changed.
System Message Logging Servers
You can configure a maximum of three system message logging servers.
To send log messages to a UNIX system message logging server, you must configure the system message
logging daemon on a UNIX server. Log in as root, and follow these steps:
Step 1 Add the following line to the /etc/syslog.conf file.
local1.debug /var/log/myfile.log
Note Be sure to add five tab characters between local1.debug and /var/log/myfile.log. Refer to entries
in the /etc/syslog.conf file for further examples.
The switch sends messages according to the specified facility types and severity levels. The local1
keyword specifies the UNIX logging facility used. The messages from the switch are generated by user
processes. The debug keyword specifies the severity level of the condition being logged. You can set
UNIX systems to receive all messages from the switch.
Step 2 Create the log file by entering these commands at the UNIX shell prompt:
$ touch /var/log/myfile.log
$ chmod 666 /var/log/myfile.log
Step 3 Make sure the system message logging daemon reads the new changes by entering this command:
$ kill -HUP ~cat /etc/syslog.pid~