From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 01:45:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBE2637B401 for ; Thu, 24 Apr 2003 01:45:57 -0700 (PDT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E9A743F93 for ; Thu, 24 Apr 2003 01:45:56 -0700 (PDT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id h3O8js917891; Thu, 24 Apr 2003 11:45:54 +0300 Message-Id: <200304240845.h3O8js917891@lv.raad.tartu.ee> Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 24 Apr 03 11:45:51 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 24 Apr 03 11:45:37 +0300 From: "Toomas Aas" Organization: Tartu City Government To: Wayne Pascoe , questions@freebsd.org Date: Thu, 24 Apr 2003 11:45:32 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Priority: normal In-reply-to: <20030424071545.GA45006@marvin.penguinpowered.org.uk> Subject: Re: syslog logging question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 08:45:58 -0000 Hi! > I have ipfilter on some of my boxes. In /etc/syslog.conf, I have the > following lines: > > !ipmon > *.* /var/log/ipf.log > > This works, and I get all entries in /var/log/ipf.log, which is good. > The problem I have is that I also get all entries in /var/log/messages > > What do I need to do to stop syslog logging these messages to both > locations and start logging only to /var/log/ipf.log ? Add 'local0.none' to the list of facilities logged to /var/log/messages. -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Save the whales! Collect the whole set!