Re: Kernel - default log levels

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

 



On 16/10/2020 01:09, Justin Forbes wrote:
> On Tue, Oct 13, 2020 at 4:24 PM David S. <dazo@xxxxxxxxxxxx> wrote:
>>
>>
>> Hi,
>>
>> I just spotted that there is a difference in the default log levels on
>> Fedora and RHEL-8 vs RHEL-7.
>>
>> Fedora/RHEL-8 uses:
>>
>>    # cat /proc/sys/kernel/printk
>>    7       4       1       7
>>
>> while RHEL-7 uses:
>>
>>    # cat /proc/sys/kernel/printk
>>    2       4       1       7
>>
>> I also see that this seems to have been changed in the the packaging
>>
> 
> Which kernel are you working with?  Rawhide kernels by default are
> typically debug kernels and will behave much differently in this
> regard.  Stable kernel releases are defaulting to 3 4 1 7
> 

My testing is currently on a standard Fedora 32 x86_64 running in
Digital Ocean (from their Fedora image pool).  It should be fairly
up-to-date (I see now there is a 5.8.15-201 kernel available).

[root@davids-devtest-f32 ~]# uptime
 13:16:19 up 1 min,  1 user,  load average: 0.14, 0.04, 0.01
[root@davids-devtest-f32 ~]# uname -r
5.8.14-200.fc32.x86_64
[root@davids-devtest-f32 ~]# cat /proc/sys/kernel/printk
7	4	1	7
[root@davids-devtest-f32 ~]# grep LOGLEVEL_DEFAULT /boot/config-5.8.14-200.fc32.x86_64
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=3
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4

I see the same printk values and config settings in the 5.8.15-201.

I also don't see any tweaks to the kernel cmdline, so I'm also wondering what
else can be setting these values.


-- 
kind regards,

David Sommerseth
OpenVPN Inc
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux