Etc/Syslog.conf - IBM 9077 Get Connected

Sp switch router
Table of Contents

Advertisement

B.18 /etc/syslog.conf
Use this file to specify the type of logging in the system. If no additional hard
disk is installed, logging can be directed to another network attached system;
otherwise local files are used.
Stanzas in /etc/grcons.log.conf determine how large the respective files may
grow and how many versions are kept of them.
#
#
# To enable the logging of system messages on GRF systems, edit the
# entries in the "Log messages to Network" section below.
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# To uncomment, remove "#net# from each line in this section
#
#
# Log messages to Network
#
#net#*.err;kern.debug;auth.notice;mail.crit
#net#*.notice;kern.debug;lpr,auth.info;mail.crit
NetStar $Id: syslog.conf,v 1.6.4.3 1997/09/15 14:57:37 pargal Exp $
- uncomment the lines in the "Log messages to Network" section
of this config file (just below these instructions)
- change "server.domain.com" to the name of a syslog server on
your local network to which this router may send log messages
- add the IP address of the log server and its host name to /etc/hosts
on this GRF system.
- run "grwrite -v" command to save your changes to
/etc/syslog.conf and /etc/hosts
- add the following lines to the /etc/syslog.conf on your log server:
(do not include the # from the first column of this file, ie.,
add "local5.* /var/log/mib2d.log" not "#local5.* /var/...")
#
# Syslog configuration for syslog server systems
# GRF-specific log files (from GRF systems over the network)
#
local0.info
local1.info
local2.*
local3.*
local4.*
local5.*
local6.*
- kill and restart syslogd on your syslog server machine after making
sure that the log files added to the config file exist
on the log server machine exist (use the "touch" command
to create them if they do not exist, then restart syslogd
on the syslog server machine).
- kill and restart syslogd on the GRF router (or reboot the GRF).
/var/log/gritd.packets
/var/log/gr.console
/var/log/gr.boot
/var/log/grinchd.log
/var/log/gr.conferrs
/var/log/mib2d.log
/var/log/fred.log
@server.domain.com
@server.domain.com
GRF Configuration Files
291

Advertisement

Table of Contents
loading

Table of Contents