B.8 /etc/grclean.logs.conf – IBM Switch 9077 User Manual

Page 293

Advertising
background image

GRF Configuration Files

275

# DEFAULTS sets all of the above keywords to the above defaults.

################################################################################

################################################################################

# log files.

################################################################################

include=/etc/grclean.logs.conf

################################################################################

################################################################################

################################################################################

# port card dump files.

################################################################################

hold=4

size=1

remove=y

local=y

logfile=/var/portcards/grdump.*

################################################################################

B.8 /etc/grclean.logs.conf

This file is included from /etc/grclean.conf. Take special care of the location of
the log files once a PCMCIA hard disk is installed. Refer to Section 3.3.2,
“Installing the PCMCIA Spinning Disk” on page 76.

# NetStar $Id: grclean.logs.conf,v 1.9.2.3 1997/08/27 19:58:31 jeanne Exp

$

################################################################################

# grclean configuration file

# keyword default what is it

# ------- ----------------- -------------------------------

# include <filename> name of another config file to act on

# hold 7 # of archives kept

# local no keep arch in same place as logfile

# remove no remove logfile after archival

# arch none archive name

# ash none command to execute after archival

# bsh none command to execute before archival

# nsh none command to execute if no archival

# zip /usr/contrib/bin/gzip zip/compress command

# zap /usr/contrib/bin/gunzip unzip/uncompress command

# ext auto extension to use for compressed archive

# dir /var/log where to put the archives if ! local

# tmp /tmp tmp directory

# date ‘/bin/date +%x %r"‘ date command for msgs

# size 0 size threshold for archive or not

################################################################################

################################################################################

# of some interest.

# console log file.

# boot log file.

################################################################################

ash=kill -1 ‘cat /var/run/syslog.pid‘

hold=2

local=y

################################################################################

Advertising