diff --git a/src/modules/module-client-node/client-stream.c b/src/modules/module-client-node/client-stream.c index c285e9587..26c3df123 100644 --- a/src/modules/module-client-node/client-stream.c +++ b/src/modules/module-client-node/client-stream.c @@ -392,7 +392,8 @@ static int negotiate_format(struct impl *impl) } spa_pod_fixate(format); - spa_debug_format(0, NULL, format); + if (pw_log_level_enabled(SPA_LOG_LEVEL_DEBUG)) + spa_debug_format(0, NULL, format); if ((res = spa_node_port_set_param(impl->adapter_mix, SPA_DIRECTION_REVERSE(impl->direction), 0, diff --git a/src/pipewire/core.c b/src/pipewire/core.c index c7364af90..68b1bd321 100644 --- a/src/pipewire/core.c +++ b/src/pipewire/core.c @@ -286,7 +286,7 @@ static void core_destroy(void *object, uint32_t id) struct pw_client *client = resource->client; struct pw_resource *r; - pw_log_debug("core %p: destroy %d from resource %p", resource->core, id, resource); + pw_log_debug("core %p: destroy resource %d from client %p", resource->core, id, client); if ((r = pw_client_find_resource(client, id)) == NULL) goto no_resource;