From 8c4318d87a5cc604d04913c66ac3e4ebda10bc18 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 11 Aug 2014 10:45:41 -0500 Subject: [PATCH] iface-mode: downgrade "access technology changed" message to debug We have a report of a modem that switches access technologies frequently, in this case almost every 10 seconds. While that's unusual, it's not unexpected depending on the RF environment. We shouldn't spam syslog with that info; if we need it we can get it with mmcli. --- src/mm-iface-modem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c index 45e273a2..7c31f9a9 100644 --- a/src/mm-iface-modem.c +++ b/src/mm-iface-modem.c @@ -888,10 +888,10 @@ mm_iface_modem_update_access_technologies (MMIfaceModem *self, /* Log */ old_access_tech_string = mm_modem_access_technology_build_string_from_mask (old_access_tech); new_access_tech_string = mm_modem_access_technology_build_string_from_mask (built_access_tech); - mm_info ("Modem %s: access technology changed (%s -> %s)", - g_dbus_object_get_object_path (G_DBUS_OBJECT (self)), - old_access_tech_string, - new_access_tech_string); + mm_dbg ("Modem %s: access technology changed (%s -> %s)", + g_dbus_object_get_object_path (G_DBUS_OBJECT (self)), + old_access_tech_string, + new_access_tech_string); g_free (old_access_tech_string); g_free (new_access_tech_string); }