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:
Wim Taymans 2021-02-19 12:44:03 +01:00
parent 08ea7d5cd6
commit 686524ce40
6 changed files with 9 additions and 4 deletions

View file

@ -5,7 +5,7 @@ context.properties = {
#mem.warn-mlock = false
#mem.allow-mlock = true
#mem.mlock-all = false
#log.level = 2
log.level = 0
}
context.spa-libs = {

View file

@ -4,7 +4,7 @@ context.properties = {
#mem.warn-mlock = false
#mem.allow-mlock = true
#mem.mlock-all = false
#log.level = 2
log.level = 0
}
context.spa-libs = {

View file

@ -5,7 +5,7 @@ context.properties = {
#mem.warn-mlock = false
#mem.allow-mlock = true
#mem.mlock-all = false
#log.level = 2
log.level = 0
}
context.spa-libs = {

View file

@ -4,6 +4,7 @@ context.properties = {
# modules.
#mem.mlock-all = false
#support.dbus = true
#log.level = 2
}
context.spa-libs = {