IBM 9077 manual 18 /etc/syslog.conf

Models: 9077

1 342
Download 342 pages 50.2 Kb
Page 309
Image 309

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.

#NetStar $Id: syslog.conf,v 1.6.4.3 1997/09/15 14:57:37 pargal Exp $

#

#To enable the logging of system messages on GRF systems, edit the

#entries in the "Log messages to Network" section below.

#

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

/var/log/gritd.packets

#

local1.info

/var/log/gr.console

#

local2.*

/var/log/gr.boot

#

local3.*

/var/log/grinchd.log

#

local4.*

/var/log/gr.conferrs

#

local5.*

/var/log/mib2d.log

#

local6.*

/var/log/fred.log

#

 

 

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

#To uncomment, remove "#net# from each line in this section

#

#

#Log messages to Network

#net#*.err;kern.debug;auth.notice;mail.crit@server.domain.com

#net#*.notice;kern.debug;lpr,auth.info;mail.crit @server.domain.com

GRF Configuration Files 291

Page 309
Image 309
IBM 9077 manual 18 /etc/syslog.conf