improve logging

Remove some harmless warnings from the log
Remove some excessive info logging
This commit is contained in:
Wim Taymans 2020-02-21 11:09:34 +01:00
parent a528189d26
commit d8bac82e72
11 changed files with 24 additions and 25 deletions

View file

@ -128,10 +128,10 @@ context_check_access(void *data, struct pw_impl_client *client)
}
if (pid < 0) {
pw_log_info("no trusted pid found, assuming not sandboxed\n");
pw_log_info("client %p: no trusted pid found, assuming not sandboxed", client);
goto granted;
} else {
pw_log_info("client has trusted pid %d", pid);
pw_log_info("client %p has trusted pid %d", client, pid);
}
if (impl->properties && (str = pw_properties_get(impl->properties, "blacklisted")) != NULL) {