ryantimwilson / rpms / systemd

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