diff --git a/src/pipewire/proxy.c b/src/pipewire/proxy.c index 6ba186f2d..fa3100300 100644 --- a/src/pipewire/proxy.c +++ b/src/pipewire/proxy.c @@ -28,6 +28,8 @@ #include #include +#include + /** \cond */ struct proxy { struct pw_proxy this; @@ -76,7 +78,10 @@ struct pw_proxy *pw_proxy_new(struct pw_proxy *factory, spa_list_append(&this->remote->proxy_list, &this->link); - pw_log_debug("proxy %p: new %u, remote %p, marshal %p", this, this->id, remote, this->marshal); + pw_log_debug("proxy %p: new %u %s remote %p, marshal %p", + this, this->id, + spa_debug_type_find_name(pw_type_info(), type), + remote, this->marshal); return this; } diff --git a/src/pipewire/resource.c b/src/pipewire/resource.c index 1ee28a697..4e0e68b25 100644 --- a/src/pipewire/resource.c +++ b/src/pipewire/resource.c @@ -29,6 +29,8 @@ #include "pipewire/protocol.h" #include "pipewire/resource.h" +#include + /** \cond */ struct impl { struct pw_resource this; @@ -72,7 +74,10 @@ struct pw_resource *pw_resource_new(struct pw_client *client, this->marshal = pw_protocol_get_marshal(client->protocol, type); - pw_log_debug("resource %p: new for client %p id %u", this, client, id); + pw_log_debug("resource %p: new %u %s/%d client %p marshal %p", + this, id, + spa_debug_type_find_name(pw_type_info(), type), version, + client, this->marshal); pw_client_events_resource_added(client, this); return this;