From owner-freebsd-questions Wed Jun 26 17:21:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA07368 for questions-outgoing; Wed, 26 Jun 1996 17:21:28 -0700 (PDT) Received: from post.io.org (post.io.org [198.133.36.6]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA07329 for ; Wed, 26 Jun 1996 17:21:22 -0700 (PDT) Received: from zap.io.org (taob@zap.io.org [198.133.36.81]) by post.io.org (8.7.5/8.7.3) with SMTP id UAA07768 for ; Wed, 26 Jun 1996 20:17:53 -0400 (EDT) Date: Wed, 26 Jun 1996 20:18:46 -0400 (EDT) From: Brian Tao To: FREEBSD-QUESTIONS-L Subject: Filtering rules in syslog.conf Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a fairly simple requirement that I can't seem to get working with syslogd/syslog.conf. I would like all messages generated by a particular program to go to a particular file, and nowhere else. Is that possible? For example, this line will accomplish the first half of what I want: !telnetd *.* /var/log/telnetd.log The only problem is that the telnetd messages go to *both* /var/log/messages as well as /var/log/telnetd.log. How do I tell syslogd not to send to both? I know you can disable certain facilities with the "none" level, but that affects all messages, not just those coming from a particular program. -- Brian Tao (BT300, taob@io.org, taob@ican.net) Systems and Network Administrator, Internet Canada Corp. "Though this be madness, yet there is method in't"