mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: improve message debug
Add prefix to messages to mark sent and received messages. Send mem debug to log instead of stderr. Log the complete message and debug the command.
This commit is contained in:
parent
d0a2e6316b
commit
3baba76c77
4 changed files with 39 additions and 27 deletions
|
|
@ -71,7 +71,7 @@ static int handle_packet(struct client *client, struct message *msg)
|
|||
|
||||
if (pw_log_topic_custom_enabled(SPA_LOG_LEVEL_INFO, pulse_conn)) {
|
||||
pw_log_debug("client %p: command:%s", client, commands[command].name);
|
||||
message_dump(SPA_LOG_LEVEL_INFO, msg);
|
||||
message_dump(SPA_LOG_LEVEL_INFO, "<<", msg);
|
||||
}
|
||||
|
||||
const struct command *cmd = &commands[command];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue