Re: Kernel - default log levels

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

 



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
>
>
>    commit 4778b265ca87608cf8dcbcec31c0230555d98784
>    Author: Justin M. Forbes <jforbes@xxxxxxxxxx>
>    Date:   Tue Dec 13 16:26:04 2016 -0600
>
>        Linux v4.9-2682-ge7aa8c2 (missing secure boot as that is being
>        rebased to the new upstream tree
>
> This is quite a while ago, but my googlefoo wasn't strong enough to find
> a reason why.
>
> I am not saying this necessarily it is wrong, it just makes the dmesg
> contain more data.  So I am primarily curious why Fedora and RHEL-8 has
> this high debug level as the default.
>
> We're working on an OpenVPN Data Channel Offload kernel module where we
> used this debug level to give more details for debugging .... so a
> default debug level of 7 prints out a lot more details which normal
> production environments do not really need.   If this was a deliberate
> change for a reason, we will reconsider how to enable debug logging
> differently than using the printk debug levels.
>

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

Justin
_______________________________________________
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