Outgoing Syslog Server Logging Facilities - Cisco DS-C9216I-K9 Configuration Manual

Switch guide
Table of Contents

Advertisement

Chapter 28
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
Make sure the syslog daemon reads the new changes by entering this command:
Step 3
$ 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
Facility Keyword
auth
authpriv
cron
daemon
ftp
kernel
local0 to local7
lpr
mail
news
syslog
user
uucp
OL-7753-01
Table
28-3.
Internal Facilities
Description
Authorization system
Authorization (private) system
Cron or at facility
System daemons
File Transfer Protocol
Kernel
Locally defined messages
Line printer system
Mail system
USENET news
Internal syslog messages
User process
Unix-to-Unix copy system
Cisco MDS 9000 Fabric Manager Switch Configuration Guide
Configuring System Message Logging
Standard or Cisco MDS Specific
Standard
Standard
Standard
Standard
Standard
Standard
Standard (local7 is the default)
Standard
Standard
Standard
Standard
Standard
Standard
28-5

Advertisement

Table of Contents
loading

Table of Contents