Re: problem with kernel logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.joel@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux