richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
923a60
From b69fafa98f1185c4e95c350aac833fdae7de0612 Mon Sep 17 00:00:00 2001
923a60
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
923a60
Date: Sat, 14 Mar 2015 22:22:49 -0400
923a60
Subject: [PATCH] udev: downgrade "has devpath" and "filled with db file"
923a60
 messages
923a60
923a60
Udev debug messages have to be significantly overhauled... For now
923a60
just downgrade those two. They are responsible for approximately 25%
923a60
of debug output during boot and are rather useless.
923a60
923a60
(cherry picked from commit cdd45c1ffbf790facd1817757832aa25d9211967)
923a60
---
923a60
 src/libudev/libudev-device.c | 4 ++--
923a60
 1 file changed, 2 insertions(+), 2 deletions(-)
923a60
923a60
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
923a60
index 9863901a33..e408942221 100644
923a60
--- a/src/libudev/libudev-device.c
923a60
+++ b/src/libudev/libudev-device.c
923a60
@@ -613,7 +613,7 @@ int udev_device_read_db(struct udev_device *udev_device, const char *dbfile)
923a60
         }
923a60
         fclose(f);
923a60
 
923a60
-        log_debug("device %p filled with db file data", udev_device);
923a60
+        log_trace("device %p filled with db file data", udev_device);
923a60
         return 0;
923a60
 }
923a60
 
923a60
@@ -775,7 +775,7 @@ _public_ struct udev_device *udev_device_new_from_syspath(struct udev *udev, con
923a60
                 return NULL;
923a60
 
923a60
         udev_device_set_syspath(udev_device, path);
923a60
-        log_debug("device %p has devpath '%s'", udev_device, udev_device_get_devpath(udev_device));
923a60
+        log_trace("device %p has devpath '%s'", udev_device, udev_device_get_devpath(udev_device));
923a60
 
923a60
         return udev_device;
923a60
 }