> # Configuring System Message Logging Servers

> You can configure a maximum of three system message logging servers. One of these syslog servers should be DCNM-SAN if you want to view system messages from the Event tab in DCNM-SAN.

> 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:

> 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.

> 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

> 3. Make sure the system message logging daemon reads the new changes by entering this command:

>     $ kill -HUP ~cat /etc/syslog.pid~

> Note Most tabs in the Information pane for features using CFS are dimmed until you click the CFS tab. The CFS tab shows which switches have CFS enabled and shows the master switch for this feature. Once you click the CFS tab, the other tabs in the Information pane that use CFS are activated.

> ## Detailed Steps

> To configure system message logging servers, follow these steps:

> 1. Expand Events and select SysLog in the Physical Attributes pane.
> 2. Click the Servers tab in the Information pane.

> In Device Manager, choose Logs > Syslog > Setup and click the Servers tab in the syslog dialog box.

> 3. Click the Create Row icon in DCNM-SAN, or click Create in Device Manager to add a new syslog server.
> 4. Enter the name or IP address in dotted decimal notation (for example, 192.168.2.12) of the syslog server in the Name or IP Address field.
> 5. Set the message severity threshold by clicking the MsgSeverity radio button and set the facility by clicking the Facility radio button.
> 6. Click the Apply Changes icon in DCNM-SAN, or click Create in Device Manager to save and apply your changes.

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