summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-04-17 15:46:17 +0200
committerThomas Haller <thaller@redhat.com>2015-04-18 21:41:40 +0200
commit9983e4eff5b07ed217cf60785039dfeb9fbbfd19 (patch)
tree633768be683bf1f986cd1962e595d0a254019865
parente9b9d9b627acaf39a24514cf69bcf5a4329f8fcf (diff)
downloadNetworkManager-9983e4eff5b07ed217cf60785039dfeb9fbbfd19.tar.gz
device/logging: log connection UUID when activating connection
It is often hard to understand whether we activate an assumed connection. Only the UUID is unique.
-rw-r--r--src/devices/nm-device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 2c3ceddd2b..888aa339aa 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -5834,8 +5834,9 @@ _device_activate (NMDevice *self, NMActRequest *req)
connection = nm_act_request_get_connection (req);
g_assert (connection);
- _LOGI (LOGD_DEVICE, "Activation: starting connection '%s'",
- nm_connection_get_id (connection));
+ _LOGI (LOGD_DEVICE, "Activation: starting connection '%s' (%s)",
+ nm_connection_get_id (connection),
+ nm_connection_get_uuid (connection));
delete_on_deactivate_unschedule (self);