28-5
Cisco MDS 9000 Fabric Manager Switch Configuration Guide
OL-7753-01
Chapter 28 Configuring System Message Logging
Configuring System Message Logging
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 syslog daemon reads the new changes by entering this command:
$ kill -HUP ~cat /etc/syslog.pid~
Outgoing Syslog Server Logging Facilities
All syslog messages have a logging facility and a level. The logging facility can be thought of as where
and the level can be thought of as what.
The single syslog daemon (syslogd) sends the information based on the configured
facility
option. If no
facility is specified, local7 is the default outgoing facility.
The internal facilities are listed in
Table 28-3
.
Table 28-3
Internal Facilities
Facility Keyword
Description
Standard or Cisco MDS Specific
auth
Authorization system
Standard
authpriv
Authorization (private) system
Standard
cron
Cron or at facility
Standard
daemon
System daemons
Standard
ftp
File Transfer Protocol
Standard
kernel
Kernel
Standard
local0 to local7
Locally defined messages
Standard (local7 is the default)
lpr
Line printer system
Standard
Mail system
Standard
news
USENET news
Standard
syslog
Internal syslog messages
Standard
user
User process
Standard
uucp
Unix-to-Unix copy system
Standard
Содержание DS-C9216I-K9
Страница 26: ...Contents xxvi Cisco MDS 9000 Fabric Manager Switch Configuration Guide OL 7753 01 ...
Страница 42: ...xlii Cisco MDS 9000 Fabric Manager Switch Configuration Guide OL 7753 01 New and Changed Information ...
Страница 128: ...10 8 Cisco MDS 9000 Fabric Manager Switch Configuration Guide OL 7753 01 Chapter 10 Managing System Hardware ...