Re: [PATCH] printk: Add loglevel for "do not print to consoles".

From: Steven Rostedt
Date: Wed May 13 2020 - 09:55:07 EST


On Wed, 13 May 2020 20:03:53 +0900
Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:

> I think that basically only oops (e.g. WARN()/BUG()/panic()) messages worth
> printing to consoles and the rest messages do not worth printing to consoles.
> Existing KERN_$LOGLEVEL is too rough-grained.

Why don't you look into having a "noconsole" command line option that will
not print anything to the consoles but oops messages.

Sounds more like what you would like, and something that perhaps would be
acceptable by the larger community.

-- Steve