daandemeyer / rpms / systemd

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