Re: syslog warning: was: Re: [PATCH v6 04/11] printk: Support toggling per-console loglevel via syslog() and cmdline
From: Chris Down
Date: Thu Nov 14 2024 - 13:53:55 EST
Petr Mladek writes:
I see this warning during every boot because rsyslogd() modifies the
global loglevel.
[...]
I am not sure if we have already discussed this in the past.
But I would prefer the compromise after all.
I initially implemented that way until v4, but during the v3 review, as I
understood it you recommended changing it to use !ignore_per_console_loglevel
based on the assumption that SYSLOG_ACTION_CONSOLE_{ON,OFF} wasn't widely used.
Maybe I misunderstood what was intended?
Happy to revert to the previous approach with warn_on_local_loglevel(), just
let me know :-)