console messages and log level

Andy Whitcroft apw at canonical.com
Thu Oct 8 19:50:35 UTC 2009


> From 1aba8a4352402396a42140b2b177abce44d920b7 Mon Sep 17 00:00:00 2001
> From: Tim Gardner <tim.gardner at canonical.com>
> Date: Thu, 8 Oct 2009 11:42:36 -0600
> Subject: [PATCH] UBUNTU: SAUCE: Raise the default console 'quiet' level to 2
> 
> In the interests of providing a clean boot experience, i.e., a blank screen
> before X starts, supress noisy driver messages.
> 
> See https://lists.ubuntu.com/archives/kernel-team/2009-October/007476.html
> for the original diatribe.
> 
> Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
> ---
>  init/main.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/init/main.c b/init/main.c
> index 11f4f14..a97d0b7 100644
> --- a/init/main.c
> +++ b/init/main.c
> @@ -233,7 +233,7 @@ static int __init debug_kernel(char *str)
>  
>  static int __init quiet_kernel(char *str)
>  {
> -	console_loglevel = 4;
> +	console_loglevel = 2;
>  	return 0;
>  }

That is indeed the idea.

Acked-by: Andy Whitcroft <apw at canonical.com>

-apw




More information about the kernel-team mailing list