Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 12:53:53 +0200 (CEST)
From:      Erik Norgaard <norgaard@math.ku.dk>
To:        kilim <kilim@phenix.rootshell.be>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Stopping the logging to console from pf ?
Message-ID:  <Pine.LNX.4.64.0510201252480.18028@shannon.math.ku.dk>
In-Reply-To: <20051020104733.GA14688@phenix.rootshell.be>
References:  <20051020104733.GA14688@phenix.rootshell.be>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0510201252480.18028>