From owner-freebsd-questions Sun Aug 22 0: 0:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id EDDBB14C4A for ; Sun, 22 Aug 1999 00:00:56 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id DAA01264; Sun, 22 Aug 1999 03:01:36 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199908220701.DAA01264@cc942873-a.ewndsr1.nj.home.com> Subject: Re: syslog - omitting a service? In-Reply-To: from dissonant at "Aug 21, 99 11:11:19 pm" To: disowned@flitr.nu (dissonant) Date: Sun, 22 Aug 1999 03:01:36 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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