ryantimwilson / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone
65878a
From 1842d7a64410f099a454f341ecf0ad9d6682f8ec Mon Sep 17 00:00:00 2001
65878a
From: Tom Gundersen <teg@jklm.no>
65878a
Date: Wed, 30 Oct 2013 15:09:01 +0100
65878a
Subject: [PATCH] libudev: default log_priority to INFO
65878a
65878a
This brings it in sync with the default config file.
65878a
---
65878a
 src/libudev/libudev.c | 2 +-
65878a
 1 file changed, 1 insertion(+), 1 deletion(-)
65878a
65878a
diff --git a/src/libudev/libudev.c b/src/libudev/libudev.c
65878a
index 208039a..bc73a5a 100644
65878a
--- a/src/libudev/libudev.c
65878a
+++ b/src/libudev/libudev.c
65878a
@@ -125,7 +125,7 @@ _public_ struct udev *udev_new(void)
65878a
                 return NULL;
65878a
         udev->refcount = 1;
65878a
         udev->log_fn = log_stderr;
65878a
-        udev->log_priority = LOG_ERR;
65878a
+        udev->log_priority = LOG_INFO;
65878a
         udev_list_init(udev, &udev->properties_list, true);
65878a
 
65878a
         f = fopen("/etc/udev/udev.conf", "re");