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:50:49 +0200
commit417039fbd6f7d860ff91ae3569d4e69d9b54a0bc (patch)
tree5b68d22ff5e1ec9939b6f8015a7c23874eb45153
parentf392da2c78a2a4c1b0ceebfb16eab28e69e01f7c (diff)
downloadNetworkManager-417039fbd6f7d860ff91ae3569d4e69d9b54a0bc.tar.gz
device: silence logging about "link disconnected"
<info> logging is just too verbose for something that happens frequently. (cherry picked from commit ed7f832c40350cce0a33c29d36c84781b4ac9434)
-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)",