mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 09:58:07 +02:00
connection: Add incoming message serials to verbose mode logging
This helps pair up messages with verbose mode output from the other side of a connection. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63047 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
8b774c5f3b
commit
3a43d4aef2
1 changed files with 2 additions and 1 deletions
|
|
@ -3962,7 +3962,7 @@ _dbus_connection_pop_message_link_unlocked (DBusConnection *connection)
|
|||
link = _dbus_list_pop_first_link (&connection->incoming_messages);
|
||||
connection->n_incoming -= 1;
|
||||
|
||||
_dbus_verbose ("Message %p (%s %s %s %s '%s') removed from incoming queue %p, %d incoming\n",
|
||||
_dbus_verbose ("Message %p (%s %s %s %s sig:'%s' serial:%u) removed from incoming queue %p, %d incoming\n",
|
||||
link->data,
|
||||
dbus_message_type_to_string (dbus_message_get_type (link->data)),
|
||||
dbus_message_get_path (link->data) ?
|
||||
|
|
@ -3975,6 +3975,7 @@ _dbus_connection_pop_message_link_unlocked (DBusConnection *connection)
|
|||
dbus_message_get_member (link->data) :
|
||||
"no member",
|
||||
dbus_message_get_signature (link->data),
|
||||
dbus_message_get_serial (link->data),
|
||||
connection, connection->n_incoming);
|
||||
|
||||
_dbus_message_trace_ref (link->data, -1, -1,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue