Date: Wed, 26 Dec 2007 13:16:47 +0400 From: rihad <rihad@mail.ru> To: freebsd-ipfw@freebsd.org Subject: disabling syslog messages? Message-ID: <47721BFF.9010309@mail.ru>
next in thread | raw e-mail | index | archive | help
Hi, I'm using "ipfw zero NNN" to periodically zero many counters, each of which results in a syslog message generated despite the -q flag: Dec 26 13:00:01 foo kernel: ipfw: Entry 1001 cleared. Dec 26 13:00:01 foo kernel: ipfw: Entry 1002 cleared. ... and so on. After looking in ipfw's sources in /usr/src/sbin/ipfw/ipfw2.c I now think that quite probably the messages are generated by some setsockopt call or by the kernel itself. I _could_ work around the issue by piping the "ipfw:" messages to /dev/null in syslogd, but there might be a cleaner solution? Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47721BFF.9010309>