Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 1999 03:01:36 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        disowned@flitr.nu (dissonant)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: syslog - omitting a service?
Message-ID:  <199908220701.DAA01264@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.05.9908212308510.16427-100000@flitr.nu> from dissonant at "Aug 21, 99 11:11:19 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
dissonant wrote,
> I know that if I were to add
> 
> 	!named
> 	*.*					/var/log/named.log
> 
> to my /etc/syslog.conf, it would log everything from named to that file.
> Now, right now, I have daemon.* logging stuff to a file... um, and I want
> it to EXCLUDE anything from named. Is this possible? How do I do this in
> syslog.conf? Forgive me if it's a stupid question...Thanks.

I am not aware of any mechanism to have syslogd itself stop the DAEMON
facility messages from named. However, what you can do is send the
output from the daemon.* entry to an executable program or script that
will remove the named entries before writing them to the log file.
-- 
Crist J. Clark                           cjclark@home.com


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?199908220701.DAA01264>