2003-07-03 08:38:07

by John Covici

[permalink] [raw]
Subject: dmesg problem in 2.5.73

Hi. I have a weird problem -- maybe its iptables, but I am using the
log target and they print at legvel 4, but I only want level 3 or
less to print on the console, so I did 'dmesg -n 3' but I am still
getting the iptables messages.

I thought I could do this all with syslog.conf, but that has never
worked.

Any assistance would be appreciated.

--
John Covici
[email protected]


2003-07-03 10:24:22

by Martin Schlemmer

[permalink] [raw]
Subject: Re: dmesg problem in 2.5.73

On Thu, 2003-07-03 at 10:52, John Covici wrote:
> Hi. I have a weird problem -- maybe its iptables, but I am using the
> log target and they print at legvel 4, but I only want level 3 or
> less to print on the console, so I did 'dmesg -n 3' but I am still
> getting the iptables messages.
>
> I thought I could do this all with syslog.conf, but that has never
> worked.
>

Changing DEFAULT_CONSOLE_LOGLEVEL (?) has been broken since
2.5.70 or 2.5.71. I checked kernel/printk.c, etc, but could
not see anything that was causing this.


Regards,

--
Martin Schlemmer