summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-22 18:40:38 +0200
committerThomas Haller <thaller@redhat.com>2016-08-23 10:44:43 +0200
commited7f832c40350cce0a33c29d36c84781b4ac9434 (patch)
treea65426eb4c23590c3d417033a8c7e316e77c80ae
parentd4e9b30320184f0f9e09da375bb6ec549d6ab337 (diff)
downloadNetworkManager-ed7f832c40350cce0a33c29d36c84781b4ac9434.tar.gz
device: silence logging about "link disconnected"
<info> logging is just too verbose for something that happens frequently.
-rw-r--r--src/devices/nm-device.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 4807a9ba15..199acc66b6 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -1685,8 +1685,6 @@ link_disconnect_action_cb (gpointer user_data)
priv->carrier_defer_id = 0;
- _LOGI (LOGD_DEVICE, "link disconnected (calling deferred action)");
-
NM_DEVICE_GET_CLASS (self)->carrier_changed (self, FALSE);
return FALSE;
@@ -1728,10 +1726,9 @@ nm_device_set_carrier (NMDevice *self, gboolean carrier)
}
} else if ( state <= NM_DEVICE_STATE_DISCONNECTED
&& !priv->queued_act_request) {
- _LOGI (LOGD_DEVICE, "link disconnected");
+ _LOGD (LOGD_DEVICE, "link disconnected");
klass->carrier_changed (self, FALSE);
} else {
- _LOGI (LOGD_DEVICE, "link disconnected (deferring action for %d seconds)", LINK_DISCONNECT_DELAY);
priv->carrier_defer_id = g_timeout_add_seconds (LINK_DISCONNECT_DELAY,
link_disconnect_action_cb, self);
_LOGD (LOGD_DEVICE, "link disconnected (deferring action for %d seconds) (id=%u)",