mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
context: use the log.level from the config file
Use log.level from the config file if not otherwise set with PIPEWIRE_DEBUG env. Make client log.level = 0 by default to avoid spamming the console with errors. Fixes #725 Fixes #769
This commit is contained in:
parent
08ea7d5cd6
commit
686524ce40
6 changed files with 9 additions and 4 deletions
|
|
@ -663,7 +663,7 @@ static void on_error(void *data, uint32_t id, int seq, int res, const char *mess
|
|||
{
|
||||
struct client *client = data;
|
||||
|
||||
pw_log_debug(NAME" %p: error id:%u seq:%d res:%d (%s): %s", client,
|
||||
pw_log_warn(NAME" %p: error id:%u seq:%d res:%d (%s): %s", client,
|
||||
id, seq, res, spa_strerror(res), message);
|
||||
|
||||
if (id == PW_ID_CORE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue