Stopping the logging to console from pf ?

Erik Norgaard norgaard at math.ku.dk
Thu Oct 20 03:53:58 PDT 2005


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


More information about the freebsd-questions mailing list