Commit 330eb2f7 authored by Dan Williams's avatar Dan Williams

core: additional connectivity checking debug messages

parent 5937861c
......@@ -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);
......@@ -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);
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment