changing debuglevel of kernel messaging going to console

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Thu, 17 Feb 2005 16:56:09 +0300
  Dear collegues,

now all kernel messages are printed to system console by default:

*.err;kern.debug;auth.notice;mail.crit          /dev/console

There is a problem that in case of a serial console, this printing
is very slow and heavily pessimizes box performance, when kernel
messages are printed at high speed. Moreover, several kernel messages
with LOG_DEBUG severity can be triggered remotely, for example
sending bogus ARP replies. So, sending bogus ARP packets to a
FreeBSD box with serial console may lead to a DoS like conditions.

I'd like to raise this level to kern.warning, so that important
messages are still printed, but debug messages won't flood console.
No logging will be lost, since next line logs kern.debug to
/var/log/messages.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
Received on Thu Feb 17 2005 - 12:56:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC