[systemd-devel] journald and kernel logging

Lennart Poettering lennart at poettering.net
Fri Jul 5 13:23:20 PDT 2013


On Thu, 04.07.13 14:38, Tomasz Sobczyk (dottomi at gmail.com) wrote:

> Hi,
> 
> Is the fact that journald reads the kernel log, but doesn't prevent
> the messages from outputting to the active terminal a bug or desired
> behaviour?
> 
> # echo "Test" > /dev/kmsg
> Test
> #
> 
> If I, let's say, connect a USB device then the active terminal is
> spammed with the kernel log messages. I can prevent this by starting a
> system logger, but with journald running I shouldn't need another one,
> right?

The log messages the kernel forwards to the console may be configured
using /proc/sys/kernel/printk, and that's hardly something for journald
to configure. See "man 5 proc" for details on tha file.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list