mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 17:18:02 +02:00
exported-object: cleanup logging about properties-changed
(cherry picked from commit46f285e3d3) (cherry picked from commit4f452eedab)
This commit is contained in:
parent
4ca20456c9
commit
ebf1c06576
1 changed files with 5 additions and 5 deletions
|
|
@ -823,9 +823,9 @@ idle_emit_properties_changed (gpointer self)
|
||||||
if (nm_logging_enabled (LOGL_DEBUG, LOGD_DBUS_PROPS)) {
|
if (nm_logging_enabled (LOGL_DEBUG, LOGD_DBUS_PROPS)) {
|
||||||
gs_free char *notification = g_variant_print (variant, TRUE);
|
gs_free char *notification = g_variant_print (variant, TRUE);
|
||||||
|
|
||||||
nm_log_dbg (LOGD_DBUS_PROPS, "PropertiesChanged %s, %s, %p: %s",
|
nm_log_dbg (LOGD_DBUS_PROPS, "properties-changed[%p]: type %s, iface %s: %s",
|
||||||
G_OBJECT_TYPE_NAME (self), G_OBJECT_TYPE_NAME (ifdata->interface),
|
self, G_OBJECT_TYPE_NAME (self), G_OBJECT_TYPE_NAME (ifdata->interface),
|
||||||
self, notification);
|
notification);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_signal_emit (ifdata->interface, ifdata->property_changed_signal_id, 0, variant);
|
g_signal_emit (ifdata->interface, ifdata->property_changed_signal_id, 0, variant);
|
||||||
|
|
@ -862,8 +862,8 @@ nm_exported_object_notify (GObject *object, GParamSpec *pspec)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!dbus_property_name) {
|
if (!dbus_property_name) {
|
||||||
nm_log_trace (LOGD_DBUS_PROPS, "ignoring notification for prop %s on type %s",
|
nm_log_trace (LOGD_DBUS_PROPS, "properties-changed[%p]: ignoring notification for prop %s on type %s",
|
||||||
pspec->name, G_OBJECT_TYPE_NAME (object));
|
object, pspec->name, G_OBJECT_TYPE_NAME (object));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue