From 3232361f1b955b136626b96072e83b5d04ba2432 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 17 Mar 2014 20:36:48 +0100 Subject: [PATCH] core: add debug logging when setting IP[46]Config instance of a NMDevice Signed-off-by: Thomas Haller --- src/devices/nm-device.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 110a1f39ee..8b8e63704d 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -5052,6 +5052,9 @@ nm_device_set_ip4_config (NMDevice *self, /* Export over D-Bus */ nm_ip4_config_export (new_config); } + + nm_log_dbg (LOGD_IP4, "(%s): set IP4Config instance (%s)", + ip_iface, nm_ip4_config_get_dbus_path (new_config)); } } else if (old_config) { has_changes = TRUE; @@ -5144,6 +5147,9 @@ nm_device_set_ip6_config (NMDevice *self, /* Export over D-Bus */ nm_ip6_config_export (new_config); } + + nm_log_dbg (LOGD_IP4, "(%s): set IP6Config instance (%s)", + ip_iface, nm_ip6_config_get_dbus_path (new_config)); } } else if (old_config) { has_changes = TRUE;