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

Alexey Shabalin a.shabalin at gmail.com
Thu Aug 9 03:09:42 PDT 2012


2012/8/8 Lennart Poettering :
> On Wed, 08.08.12 19:59, Alexey Shabalin 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.

Thank so much.


-- 
Alexey Shabalin


More information about the systemd-devel mailing list