[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cron & exim message in logs



On Thu, May 04, 2000 at 09:59:36PM -0500, Dave Sherohman wrote:
>  Shane   said:
> > Check the "/etc/cron.d/exim" file.  You can
> > comment it out.
> 
> OK...  That looks like it would stop exim from running the queue every
> however often.  My understanding of the original question, though (as well as
> something I've been wondering), is:
> 
> How do I get exim to stop _logging_ every time it runs the queue?  Running
> the queue is a Good Thing, but logs filled with repeated
> 
> May  4 21:53:02 pchan /USR/SBIN/CRON[1773]: (mail) CMD (  if [ -x
> /usr/sbin/exim -a -f /etc/exim.conf ]; then /usr/sbin/exim -q >/dev/null
> 2>&1; fi)
> 
> messages can be annoying.

cron is logging those messages, not exim (you can tell because the
field directly after the hostname is /USR/SBIN/CRON ...)

edit /etc/syslog.conf and change the line

  *.*;auth,authpriv.none          -/var/log/syslog

to

  *.*;auth,authpriv,cron.none     -/var/log/syslog

Uncomment the cron.log line if you still want cron to log somewhere.

Regards,

-- 
Nathan Norman         "Eschew Obfuscation"          Network Engineer
GPG Key ID 1024D/51F98BB7            http://home.midco.net/~nnorman/
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7

Attachment: pgpZm2MCAMOML.pgp
Description: PGP signature


Reply to: