Stopping the logging to console from pf ?

Glenn Dawson glenn at antimatter.net
Thu Oct 20 05:11:25 PDT 2005


At 04:18 AM 10/20/2005, kilim wrote:

>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 ?

You could set kern.consmute=1 using sysctl and see if that does the 
trick.  Keep in mind that will also silence quite a few other things.

-Glenn


>Thanks !
>
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list