Re: One more pre-production issue...

Ulrich Windl (Ulrich.Windl@rz.uni-regensburg.de)
Mon, 19 Feb 1996 11:11:24 +0100


On 18 Feb 96 at 15:21, Larry 'Daffy' Daffner wrote:

>
> I have one issue with the current kernels which I have in the past
> considered at worst a feature of questionable desirablity, but I feel
> should be considered a bug. The default priority for log messages is
> KERN_NOTICE, but the minimum and default console loglevel is
> KERN_INFO. This means that drivers which print startup messages at
> the default priority print these messages every time they are loaded.

The real problem is that the drivers do not contain a loggin level
when doing kprintf(). Take aic7xxx.c for an example. Some messages
are only for debugging purposes, while others are more interesting,
and some are fatal.

> I would really like to see this changed before 1.4 or 2.0 are
> released. The modules I know this affects are the slip and slhc
> modules. The bigger issue, to me, is what should show up on the
> console. Personally, I modify the source so that the minimum console

That's a configuration issue (man klogd, especially option "-c").

> loglevel is 4, then set the console loglevel to 4 right before
> starting the init. I personally feel that the default loglevel should
> not go to the console, but that's just personal feeling. At the very

That's also a configuration issue (man syslogd, especially
/etc/syslog.conf and the "*" or username entries.

> least, there should be an easy way to set the console loglevel to
> KERN_WARNING, since anything below that doesn't require action. Any
> comments on this?

See option "-c" in the klogd manual page.

>
> -Larry

Ulrich