You are not logged in.

#1 2017-03-02 06:06:18

robborg
Member
Registered: 2015-05-04
Posts: 10

[SOLVED] Is change default console loglevel patch needed any longer?

I was doing some testing on linux 4.10 and noticed that the change-default-console-loglevel.patch no longer works. It looks like there was a change in linux 4.10 and the following patch was added up stream.

[PATCH] printk: Add Kconfig option to set default console loglevel
truncated for brevity...

-#define CONSOLE_LOGLEVEL_DEFAULT 7 /* anything MORE serious than KERN_DEBUG */

+ * Default used to be hard-coded at 7, we're now allowing it to be set from
+ * kernel config.
+ */
+#define CONSOLE_LOGLEVEL_DEFAULT CONFIG_CONSOLE_LOGLEVEL_DEFAULT
+
...

Here it is the patch https://lkml.org/lkml/2016/11/20/137
Add here it is the upstream
https://git.kernel.org/cgit/linux/kerne … f06f17eef4

I think I confirmed it as well by using these commands

$ xzcat linux-4.10.tar.xz  | grep "#define CONSOLE_LOGLEVEL_DEFAULT CONFIG_CONSOLE_LOGLEVEL_DEFAULT"

Binary file (standard input) matches

Last edited by robborg (2017-03-02 09:17:42)

Offline

#2 2017-03-02 06:15:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Is change default console loglevel patch needed any longer?

No, it was dropped in 4.10


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-03-02 09:16:06

robborg
Member
Registered: 2015-05-04
Posts: 10

Re: [SOLVED] Is change default console loglevel patch needed any longer?

Solved Thanks jasonwryan. I would have noticed that if I read the clicked viewchanges in the linux 4.10 testing repository. But I had fun looking stuff up.

Offline

Board footer

Powered by FluxBB