Re: Annoying iptables console logging



On 23.08.06 12:59, Matej Cepl wrote:
Matus UHLAR - fantomas wrote:
Since that didn't worked i KILLed both syslogd and klogd. I still kept
getting msgs to console.

they are not sent by syslog process. They are sent by kernel.

Chmm, nazdar Matúši, I thought that "k" in sysklogd means, that sysklogd
should manage kernel messages as well?

klogd only fetches messages from kernel and pushes them to syslogd (well, it
can decode some informations, but that's irelevant). sysklogd was a package
containing both syslogd and klogd, they are separate now.

And yes, I hate these messages as well.

those messages are printed by kernel to the current console(s).
'dmesg -n' configures messages of which level to print to the console(s).
They all are still send to kmsg, where syslogd,syslog-ng or klogd read them
from.

syslog-ng (I use it) startup script can set up that level, configured in
/etc/default/syslog-ng. I have set it to 4:

# log level of messages which should go to console
# see klogctl(8) or <linux/kernel.h> for details
#
CONSOLE_LOG_LEVEL=4

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: amanda vs 2.6
    ... On Thursday 27 November 2003 03:41, Nick Piggin wrote: ... >> to syslogd until the logging socket buffer fills up. ... command in my script, 'make xconfig'. ... job as it oversees the fully installed kernel, ...
    (Linux-Kernel)
  • Problem re-stated
    ... Starting system log daemon: syslogd ... I had checked that 'Unix domain socket' was selected in the kernel config. ...
    (Debian-User)
  • Re: SuSE 9 & 2.6 Kernel
    ... > that boots but I have continual problems with syslogd, hotplug, sshd, and ... I have downloaded the newest NVIDIA driver ... > and attempted to build a module for the new kernel, ... I've spotted no problems with syslogd, but have had the occasional bogus ...
    (alt.os.linux.suse)
  • Re: syslogd not logging messages from remote host
    ... Did you restart syslogd after making this change? ... The logger command, as well as anything using the syslogfunction on ... a message from the kernel - that's probably not relevant though. ...
    (comp.unix.bsd.freebsd.misc)
  • klogd and syslogd - how to suppress KERN_DEBUG messages
    ... I am using busybox 1.1.1 and a 2.6 kernel. ... Is there a way to prevent klogd and/or syslogd from sending KERN_DEBUG messages to /var/log/messages? ... I have tried using the -c option to klogd and writing to /proc/sys/kernel/printk, but neither of these seems to have any effect. ... The log file is on compact flash, and I don't want to be writing debug messages to it if I can avoid it. ...
    (comp.os.linux.embedded)