Configuring Unix Syslog Servers - Allen-Bradley Stratix 5100 User Manual

Wireless access point/workgroup bridge
Hide thumbs Also See for Stratix 5100:
Table of Contents

Advertisement

Chapter 21
Configuring System Message Logging
558

Configuring UNIX Syslog Servers

The next sections describe how to configure the 4.3 BSD UNIX server syslog
daemon and define the UNIX system logging facility.
Logging Messages to a UNIX Syslog Daemon
Before you can send system log messages to a UNIX syslog server, you must
configure the syslog daemon on a UNIX server. Log in as root, and perform
these steps:
Some recent versions of UNIX syslog daemons no longer accept by default
TIP
syslog packets from the network. If this is the case with your system, use the
UNIX man syslogd command to determine what options must be added to or
removed from the syslog command line to enable logging of remote syslog
messages.
1. Add a line such as the following to the file /etc/syslog.conf:
local7.debug /usr/adm/logs/cisco.log
The
keyword specifies the logging facility to be used; see
local7
Table 116 on page 560
keyword specifies the syslog level; see
information on the severity levels. The syslog daemon sends messages at
this level or at a more severe level to the file specified in the next field. The
file must already exist, and the syslog daemon must have permission to
write to it.
2. Create the log file by entering these commands at the UNIX shell prompt:
$ touch /usr/adm/log/cisco.log
$ chmod 666 /usr/adm/log/cisco.log
3. Make sure the syslog daemon reads the new changes by entering this
command:
$ kill -HUP `cat /etc/syslog.pid`
For more information, see the
commands on your UNIX system.
Rockwell Automation Publication 1783-UM006A-EN-P - May 2014
for information on the facilities. The
Table 115 on page 555
and
man syslog.conf
debug
for
man syslogd

Advertisement

Table of Contents
loading

This manual is also suitable for:

1783-wapak91783-wapek91783-wapck91783-wapzk9

Table of Contents