![](/images/new-backgrounds/1332064/332064191x1.webp)
5.Edit the file /etc/syslog.conf to specify the location where the logs will be kept. Uncomment the local log configuration lines in the “Log messages to Disk” section by removing #disk# from each line, and specify /var/log as the directory for each log. The entries should now look like the following:
*.err;*.notice;kern.debug;lpr,auth.info;mail.crit /var/log/messages cron.info /var/log/cron
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
6.Check that /etc/grclean.conf and /etc/grclean.logs.conf have entries pointing to files in /var/log.
The /etc/grclean.conf file entries should look like the following:
###################################################################
#port card dump files.
###################################################################
hold=4
size=1
remove=y
local=y logfile=/var/portcards/grdump.*
###################################################################
#cleanup our own log file, if necessary.
###################################################################
DEFAULTS hold=2 local=y size=10000 logfile=/var/log/grclean.log
The /etc/grclean.logs.conf file entries should look like the following:
Installation and Configuration | 78 |