Question about logging.

Crist J. Clark crist.clark at attbi.com
Fri May 30 12:43:52 PDT 2003


On Wed, May 28, 2003 at 01:02:15AM +0200, Erik Paulsen Skålerud wrote:
> Sorry for asking this, It's probably been asked before, but I've searched
> google for a while now with no results :(
> I'm wondering if it's possible to restrict ipfw to -only- log to
> /var/log/ipfw.log ? Seems like the only way to remove ipfw-logging from the
> console output (dmesg) is to disable the security messages to the console..
> Is there really no other way?

syslogd(8) gives you the ability to pipe its output through an
arbitrary program. You can keep security messages sent to console, but
use a filtering program to block ipfw(8) messages.
-- 
Crist J. Clark                     |     cjclark at alum.mit.edu
                                   |     cjclark at jhu.edu
http://people.freebsd.org/~cjc/    |     cjc at freebsd.org


More information about the freebsd-ipfw mailing list