Ok seems I didn't read the docs carefully enough, seems
console_loglevel controls the level of logging to the console and not
to what klogd retrieves from the kernel log buffers. Correct?

Thanks,
-Joel

On Sun, Oct 18, 2009 at 12:45 AM, Joel Fernandes <agnel.j...@gmail.com> wrote:
> Hi List,
>
> I'm having a little problem with controlling logging levels.
>
> Here I've set console_loglevel to 1 as shown below:
>
> cat /proc/sys/kernel/printk
> 1       4       1       7
>
> But /proc/kmsg still shows messages with lower priority levels such as
> KERN_INFO and KERN_DEBUG with <6> and <7> tagged to the beginning of
> the messages.
>
> As I understand it, the kernel only logs message that have a priority
> level less that console_loglevel.
> Why then would it log info and debug messages of a lower priority?
>
> Thanks,
> -Joel
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to