diff --git a/src/nm-device-802-3-ethernet.c b/src/nm-device-802-3-ethernet.c index 45df7e45a..2df3cc8ae 100644 --- a/src/nm-device-802-3-ethernet.c +++ b/src/nm-device-802-3-ethernet.c @@ -173,6 +173,7 @@ set_carrier (NMDevice8023Ethernet *self, const gboolean carrier) g_object_notify (G_OBJECT (self), NM_DEVICE_802_3_ETHERNET_CARRIER); state = nm_device_interface_get_state (NM_DEVICE_INTERFACE (self)); +nm_info ("(%s): carrier now %s (device state %d)", nm_device_get_iface (NM_DEVICE (self)), carrier ? "ON" : "OFF", state); if (state == NM_DEVICE_STATE_UNAVAILABLE) { if (carrier) nm_device_state_changed (NM_DEVICE (self), NM_DEVICE_STATE_DISCONNECTED); diff --git a/src/nm-device.c b/src/nm-device.c index 13f94e4d2..61f2e594d 100644 --- a/src/nm-device.c +++ b/src/nm-device.c @@ -1705,6 +1705,7 @@ nm_device_state_changed (NMDevice *device, NMDeviceState state) old_state = priv->state; priv->state = state; +nm_info ("(%s): device state change: %d -> %d", nm_device_get_iface (device), old_state, state); if (priv->failed_to_disconnected_id) { g_source_remove (priv->failed_to_disconnected_id);