Re: Turning off cron logging


Subject: Re: Turning off cron logging
From: Jim Cole (greyleaf@yggdrasill.net)
Date: Sat Oct 06 2001 - 19:32:59 MDT


Paul J. Lucas's bits of Sat, 6 Oct 2001 translated to:

> It's cron that's doing the logging, not rmmod.
>
>> >Oct 3 21:10:00 powerbook CROND[26785]: (root) CMD ( /sbin/rmmod -as)
> ^^^^^

Sorry. Should have paid more attention. The reason for the
log message is a combination of crond itself and the
settings in syslog.conf. It appears as if the version of
crond distributed with YDL 2.0 makes a lot of noise at the
.info level, which gets picked up by

  *.info;mail.none;news.none;authpriv.none

in the /etc/syslog.conf file.

To squash the log messages you are referring to (and all
other .info messages from crond), change the syslog.conf
file entry for /var/log/messages to

  *.info;cron.notice;mail.none;news.none;authpriv.none

In this case, you shouldn't hear anymore from crond unless
it is of priority 'notice' or higher.

Jim



This archive was generated by hypermail 2a24 : Sat Oct 06 2001 - 18:44:08 MDT