summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-11-13 20:31:16 +0100
committerThomas Haller <thaller@redhat.com>2013-11-22 13:12:04 +0100
commit820b6877e5fd9ca6d234dc8413932e02d697f0bf (patch)
tree05c83bfa7e5089329f8f7f0aa5064cb539dcaa73
parentffdc7c82e5d0e4c6f195935226a7314dae3ab0a6 (diff)
downloadNetworkManager-th/LOG.tar.gz
core: log a identifying token for dbus objects when a property changesth/LOG
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/nm-properties-changed-signal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nm-properties-changed-signal.c b/src/nm-properties-changed-signal.c
index b61b87111b..98f3ecb095 100644
--- a/src/nm-properties-changed-signal.c
+++ b/src/nm-properties-changed-signal.c
@@ -106,7 +106,7 @@ properties_changed (gpointer data)
GString *buf = g_string_new (NULL);
g_hash_table_foreach (info->hash, add_to_string, buf);
- nm_log_dbg (LOGD_DBUS_PROPS, "%s -> %s", G_OBJECT_TYPE_NAME (object), buf->str);
+ LOG (dbg, DBUS_PROPS, object, "%s -> %s", G_OBJECT_TYPE_NAME (object), buf->str);
g_string_free (buf, TRUE);
}
@@ -146,8 +146,7 @@ notify (GObject *object, GParamSpec *pspec)
break;
}
if (!dbus_property_name) {
- nm_log_dbg (LOGD_DBUS_PROPS, "ignoring notification for prop %s on type %s",
- pspec->name, G_OBJECT_TYPE_NAME (object));
+ /* Only log changes of one of the exported_properties */
return;
}