blob: de89dc01cc0f55e9df1c45f7b210cac213bfc452 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From f64b6ce8054b47e5bdcc8c4c7965534b388e6151 Mon Sep 17 00:00:00 2001
2From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
3Date: Fri, 6 Apr 2018 11:26:54 -0700
4Subject: [PATCH] linux: lower severity of "unhandled action" messages
5
6Newer kernels emit bind/unbind uevents that are not of interest to
7powerd. To avoid littering logs with scary messages, let's lower their
8severity to "debug".
9
10https://bugs.freedesktop.org/show_bug.cgi?id=106019
11
12Upstream-Status: Backport
13---
14 src/linux/up-backend.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
18index e668dc8..b8021e7 100644
19--- a/src/linux/up-backend.c
20+++ b/src/linux/up-backend.c
21@@ -273,7 +273,7 @@ up_backend_uevent_signal_handler_cb (GUdevClient *client, const gchar *action,
22 g_debug ("SYSFS change %s", g_udev_device_get_sysfs_path (device));
23 up_backend_device_changed (backend, device);
24 } else {
25- g_warning ("unhandled action '%s' on %s", action, g_udev_device_get_sysfs_path (device));
26+ g_debug ("unhandled action '%s' on %s", action, g_udev_device_get_sysfs_path (device));
27 }
28 }
29
30--
312.17.0.484.g0c8726318c-goog