Stopping the logging to console from pf ?

kilim kilim at phenix.rootshell.be
Thu Oct 20 04:18:34 PDT 2005


Hello Erik, 

and thanks for the fast reply !

On Thu, Oct 20, 2005 at 12:53:53PM +0200, Erik Norgaard wrote:
> On Thu, 20 Oct 2005, kilim wrote:
> 
> >I'd like to stop pf logging to the console.

<sniped>

> have you tried to set this in rc.conf?
> 
> pflog_enable="YES"

I've set this in /etc/rc.conf at the very beginning.

> pflog_logfile="/var/log/pflog"

That is the default option in /etc/defaults/rc.conf.

But just to be 'crazy' I've now set it in /etc/rc.conf.

> then restart pflog

Did that, no luck. 

BTW I'm running 5.4 stable.

Anything else I can try ?

Thanks !




More information about the freebsd-questions mailing list