diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/udevd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 8394db6454..7a4cf7725d 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -956,7 +956,10 @@ int main(int argc, char *argv[]) log_set_target(LOG_TARGET_AUTO); log_open(); + udev_set_log_fn(udev, udev_main_log); + log_set_max_level(udev_get_log_priority(udev)); + log_debug("version %s\n", VERSION); label_init("/dev"); |