summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-04-06 11:46:28 -0700
committerBastien Nocera <hadess@hadess.net>2018-04-12 22:34:30 +0200
commit40e525edbde41f24f53a3a5255fbace71c79261a (patch)
treea8b2db3502c7617bfe70828fd90e09fde034f1fe
parent17dba403e7e82754ce8356dcc8c34f48418885bb (diff)
downloadupower-40e525edbde41f24f53a3a5255fbace71c79261a.tar.gz
linux: lower severity of "unhandled action" messages
Newer kernels emit bind/unbind uevents that are not of interest to powerd. To avoid littering logs with scary messages, let's lower their severity to "debug". https://bugs.freedesktop.org/show_bug.cgi?id=106018
-rw-r--r--src/linux/up-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
index 3126c58..a9981ac 100644
--- a/src/linux/up-backend.c
+++ b/src/linux/up-backend.c
@@ -273,7 +273,7 @@ up_backend_uevent_signal_handler_cb (GUdevClient *client, const gchar *action,
g_debug ("SYSFS change %s", g_udev_device_get_sysfs_path (device));
up_backend_device_changed (backend, device);
} else {
- g_warning ("unhandled action '%s' on %s", action, g_udev_device_get_sysfs_path (device));
+ g_debug ("unhandled action '%s' on %s", action, g_udev_device_get_sysfs_path (device));
}
}