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

Re: syslogd and exim cron job every 20 minutes



Well, if you look at the line that's logged, you'll see that it's not
coming from Exim at all, but from cron.  So changing the way syslog
handles the mail facility won't help.  Also, exim is configured by
default (on debian) to handle its own logging and not go through syslog.

The cron logs come from the daemon facility.  I have the following line
is syslog.conf:
*.notice        |/dev/xconsole

That will prevent cron from logging messages when it runs something
(IIRC those messages are logged at the info priority).

HTH.
noah

On Sat, Jan 20, 2001 at 02:54:55PM -0500, Arcady Genkin wrote:
> How would I get rid of the message about exim cron job being printed
> at /dev/xconsole?  This job runs every 20 minutes and I would like not
> to see reports of it unless there was an error.
> 
> ,----[ /dev/xconsole ]
> | Jan 20 14:38:01 tea /USR/SBIN/CRON[5850]: (mail) CMD ( if [ -x \
> |      /usr/sbin/exim -a -f /etc/exim.conf ]; then /usr/sbin/exim -q \
> |      >/dev/null 2>&1; fi)
> `----
> 
> I tried changing /etc/syslog.conf in several ways, but it seems like I
> can't put my finger on just the right thing to say there.  I tried
> putting "mail.!*" and "cron.!*" into the last rule (the one that ends
> in "|/dev/xconsole"), but it doesn't do the trick.
> 
> Any input greately appreciated!
> -- 
> Arcady Genkin
> Don't read everything you believe.
> 
> 

-- 
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgp5pR9cR3CEO.pgp
Description: PGP signature


Reply to: