From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 10:53:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2296D16A41F for ; Thu, 20 Oct 2005 10:53:58 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (fw.math.ku.dk [130.225.103.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85A4A43D69 for ; Thu, 20 Oct 2005 10:53:57 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (localhost [127.0.0.1]) by imf.math.ku.dk (Postfix) with ESMTP id 6BF93130AA; Thu, 20 Oct 2005 12:53:53 +0200 (CEST) Received: from shannon.math.ku.dk (shannon.math.ku.dk [130.225.103.12]) by imf.math.ku.dk (Postfix) with ESMTP; Thu, 20 Oct 2005 12:53:53 +0200 (CEST) Date: Thu, 20 Oct 2005 12:53:53 +0200 (CEST) From: Erik Norgaard To: kilim In-Reply-To: <20051020104733.GA14688@phenix.rootshell.be> Message-ID: References: <20051020104733.GA14688@phenix.rootshell.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Stopping the logging to console from pf ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 10:53:58 -0000 On Thu, 20 Oct 2005, kilim wrote: > > Hello, > > I'd like to stop pf logging to the console. > > So I've read syslog.conf(5) & syslogd(8) and then I tried my best with > /etc/syslog.conf. By deleting one service after another: > > *.err;kern.warning;auth.notice;mail.crit /dev/console > > where I've just completely commented out any logging to the console, > but pf is so persistent, that it just keeps logging on. > > How can I stop pf from logging to the console as I find it distracting > to type when its various messages keep popping up ? have you tried to set this in rc.conf? pflog_enable="YES" pflog_logfile="/var/log/pflog" then restart pflog Cheers, Erik