mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
modules: move some spa_debug_mem to the log
Instead of dumping to stderr, write it to the log file.
This commit is contained in:
parent
4b145ad444
commit
9a5609de2b
10 changed files with 14 additions and 12 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include <spa/utils/result.h>
|
||||
#include <spa/utils/string.h>
|
||||
#include <spa/utils/json.h>
|
||||
#include <spa/debug/log.h>
|
||||
|
||||
#ifdef HAVE_SYSTEMD
|
||||
#include <systemd/sd-daemon.h>
|
||||
|
|
@ -251,7 +252,7 @@ static void debug_msg(const char *prefix, const struct pw_protocol_native_messag
|
|||
else
|
||||
hex = true;
|
||||
if (hex)
|
||||
spa_debug_mem(0, msg->data, msg->size);
|
||||
spa_debug_log_mem(pw_log_get(), SPA_LOG_LEVEL_DEBUG, 0, msg->data, msg->size);
|
||||
|
||||
pw_logt_debug(mod_topic_connection, "%s ****", prefix);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue