[systemd-devel] Default udev log priority

Kay Sievers kay at vrfy.org
Wed Oct 30 14:16:52 CET 2013


On Wed, Oct 30, 2013 at 1:13 PM, Tom Gundersen <teg at jklm.no> wrote:
> The default /etc/udev/udev.conf indicates (by a commented out
> udev_log="info"), that libudev's default log level is INFO. However,
> it is actually ERR.
>
> I suggest we change the default log level to be INFO as that is a lot
> more useful (and more  standard I believe) than ERR. Any objections?
>
> The alternative would be to update the default config file.

Not sure what should use "info", udev should avoid most logging
besides real errors.

We cannot afford usual informational logging during the massive
parallel worker run during bootup, it would slow down things
significantly. That's what explicit debug is for.

On some crazy boxes, we might run for for several hundreds of
thousands of devices, and cannot do any default logging for them,
enabling debug there will usually not really be able to boot up any
more, or it takes several hours.

You added new "info" messages, I guess they should just be errors, if
they are worth to log.

The print_kmsg() which you removed, was a really just an "info", but
was logged into the kernel not the journal. I think that should just
come back as it was, because it should really show up directly in
dmesg, who messed around with kernel device names, not only in the
journal. It will flow back into the journal from there.

So I guess we should put "info" in the config file, but we should not
use it anywhere really.

Kay


More information about the systemd-devel mailing list