Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2002 16:48:35 +0200
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        Michael Grant <mg-fbsd3@grant.org>, questions@freebsd.org
Subject:   Re: syslog question
Message-ID:  <200211081449.gA8Enr706030@lv.raad.tartu.ee>
In-Reply-To: <200211081442.gA8Eg5G26305@splat.grant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Is there any way to say in the first line "send *.notice except where
> programname=ipmon to /var/log/messages"?
> 
> I read through the syslog.conf man page, but there doesn't seem to be
> any way to do this.

Change the /var/log/messages line so it looks like this:

*.notice;kern.debug;lpr.info;mail.crit;news.err;local0.none 
/var/log/messages

(sorry for the line break added by my MUA).

Works for me.
--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* If you don't leave me alone, i'll go and find someone else who will.


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




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