linux-mips
[Top] [All Lists]

Re: [PATCH]: make prototype of printk available

To: Juan Quintela <quintela@mandrakesoft.com>
Subject: Re: [PATCH]: make prototype of printk available
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Thu, 19 Dec 2002 12:40:04 +0100 (MET)
Cc: linux mips mailing list <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>
In-reply-to: <m2of7imhkw.fsf@demo.mitica>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On 19 Dec 2002, Juan Quintela wrote:

> maciej> Why is the default log level incorrect here?
> 
> The problem (not here in general), is that if printk's use the default
> log level, then you as a user has no way to raise/lower the default
> log level (i.e. the messages that you want to printk or not).

 Well, the default level is KERN_WARNING and can be changed using sysctl. 
Otherwise it's handled identically to explicitly tagged messages -- you
may control direct console output with the same sysctl. 

 Obviously there are printks that beg for an explicit tag.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>