Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 05:08:22 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        kilim <kilim@phenix.rootshell.be>, Erik Norgaard <norgaard@math.ku.dk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Stopping the logging to console from pf ?
Message-ID:  <6.2.3.4.2.20051020043236.07ca6020@cobalt.antimatter.net>
In-Reply-To: <20051020111831.GB14688@phenix.rootshell.be>
References:  <20051020104733.GA14688@phenix.rootshell.be> <Pine.LNX.4.64.0510201252480.18028@shannon.math.ku.dk> <20051020111831.GB14688@phenix.rootshell.be>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




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