Re: design: was: Re: [RFC PATCH v2] printk: console: Allow each console to have its own loglevel

From: Sergey Senozhatsky
Date: Mon Jul 11 2022 - 07:11:11 EST


On (22/07/11 10:32), Petr Mladek wrote:
> On Fri 2022-07-08 21:10:35, John Ogness wrote:
> > On 2022-07-08, Petr Mladek <pmladek@xxxxxxxx> wrote:
> > > The console-specific loglevel might be set by:
> > >
> > > + "console=device,options/loglevel" kernel parameter at boot time
> >
> > I ask if we avoid the use of "/loglevel" and instead use a generic
> > scheme of:
> >
> > console=device,option,option,option
> >
> > Of course, it would mean that the type of option would need to be
> > specified. Something like:
> >
> > console=ttyS0,115200n8,loglevel=3
>
> I like this. It is longer but it makes the meaning very obvious.

Looks beautiful.