Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2002 10:27:45 -0500
From:      Bob K <melange@yip.org>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Controlling Cron Logging
Message-ID:  <20020128102745.J454@yip.org>
In-Reply-To: <200201281520.g0SFKZM99969@dc.cis.okstate.edu>; from martin@dc.cis.okstate.edu on Mon, Jan 28, 2002 at 09:20:35AM -0600
References:  <200201281520.g0SFKZM99969@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 28, 2002 at 09:20:35AM -0600, Martin McCormick wrote:
> 	I have a syslog file which is set up to log as follows:
> 
> *.info;auth.info;mail.warning		/var/log/syslog
> 
> 	That appears to work well.  Now, I wanted to refine
> things a bit and not see cron logging there so I uncommented the
> line in /etc/syslog.conf which now looks like:
> 
> cron.*						/var/log/cron
> 
> 	That now sends the cron messages to the file
> /var/log/cron like it should.  Is there any way I can cause the
> cron messages to stop going to syslog while leaving it wide open
> for anything but cron?

Changing this line:

> *.info;auth.info;mail.warning		/var/log/syslog

so it looks like this:

> *.info;auth.info;mail.warning;cron.none	/var/log/syslog

should, in theory, have the effect you seek.

-- 
Bob <melange@yip.org> | Please don't feed the sock puppet.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020128102745.J454>