[systemd-devel] why systemd-udevd log to dmesg?

Lennart Poettering lennart at poettering.net
Wed Aug 8 09:04:21 PDT 2012


On Wed, 08.08.12 19:59, Alexey Shabalin (a.shabalin at gmail.com) wrote:

> 
> 2012/8/8 Lennart Poettering :
> > On Wed, 08.08.12 12:07, Alexey Shabalin wrote:
> >
> >> After run dmesg i can see
> >> [434765.990649] systemd-udevd[1186]: invalid rule
> >> '/etc/udev/rules.d/90-alsa-tools-firmware.rules:11'
> >> [485891.443571] systemd-udevd[1186]: invalid rule
> >> '/etc/udev/rules.d/90-alsa-tools-firmware.rules:11'
> >>
> >> Yes, i know about invalid rule. (need change "BUS" to "SUBSYSTEM")
> >> Issue - why in dmesg?
> >> I expected to see in syslog only.
> >
> > Which udev/systemd versin is this? As mentioned by Kay we don't write
> > gerneal log output to kmsg anymore. It's all going to the journal now.
> 
> udev-187, without systemd (with SysV)

Ah, in newer systemd versions we default to journal logging, and if that
is not available fall back to kmsg.

You can set SYSTEMD_LOG_TARGET=syslog as env var if you want to redirect
that to syslog.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list