diff options
author | Christophe de Dinechin <dinechin@redhat.com> | 2017-06-08 18:22:26 +0200 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2017-06-09 09:56:29 +0100 |
commit | 30a33922d89a1101a81404db16e51995e09b3f78 (patch) | |
tree | c182cbf696895732fec4a550d16988605eba6ae5 | |
parent | 1d7acdcf57ef61931656ba70862a46b3c718cfa8 (diff) |
Use space and not colon to separate log domains
According to https://developer.gnome.org/glib/stable/glib-running.html,
G_MESSAGES_DEBUG is a space-separated list of log domains for which
informational and debug messages should be printed
Note that the equivalent code in spice-util.c gets it right.
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
-rw-r--r-- | common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c index 61a27ac..92f5bc0 100644 --- a/common/log.c +++ b/common/log.c @@ -93,7 +93,7 @@ static void spice_log_set_debug_level(void) if (debug_env == NULL) { g_setenv("G_MESSAGES_DEBUG", SPICE_LOG_DOMAIN, FALSE); } else { - debug_env = g_strconcat(debug_env, ":", SPICE_LOG_DOMAIN, NULL); + debug_env = g_strconcat(debug_env, " ", SPICE_LOG_DOMAIN, NULL); g_setenv("G_MESSAGES_DEBUG", SPICE_LOG_DOMAIN, FALSE); g_free(debug_env); } |