diff --git a/src/nm-connectivity.c b/src/nm-connectivity.c index 67fd3a0d3b..7e0de2c190 100644 --- a/src/nm-connectivity.c +++ b/src/nm-connectivity.c @@ -112,8 +112,8 @@ nm_connectivity_check_cb (SoupSession *session, SoupMessage *msg, gpointer user_ uri_string, priv->response); connected_new = TRUE; } else { - nm_log_dbg (LOGD_CORE, "Connectivity check for uri '%s' with expected response '%s' failed.", - uri_string, priv->response); + nm_log_dbg (LOGD_CORE, "Connectivity check for uri '%s' with expected response '%s' failed (status %d).", + uri_string, priv->response, msg->status_code); } } g_free (uri_string); diff --git a/src/nm-manager.c b/src/nm-manager.c index 3e08cf30a6..146d491c9b 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -493,10 +493,13 @@ manager_device_state_changed (NMDevice *device, /* Still connected, but a device activated or deactivated; make sure * we still have connectivity on the other activated devices. */ + nm_log_dbg (LOGD_CORE, "(%s): triggered connectivity check due to state change", + nm_device_get_iface (device)); nm_connectivity_start_check (priv->connectivity); } } else { /* Cannot be connected if no devices are activated */ + nm_log_dbg (LOGD_CORE, "stopping connectivity checks"); nm_connectivity_stop_check (priv->connectivity); } #endif @@ -3378,7 +3381,7 @@ connectivity_changed (NMConnectivity *connectivity, gboolean connected; connected = nm_connectivity_get_connected (connectivity); - nm_log_dbg (LOGD_CORE, "connectivity indicates %s", + nm_log_dbg (LOGD_CORE, "connectivity checking indicates %s", connected ? "CONNECTED" : "NOT CONNECTED"); nm_manager_update_state (self);