summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2018-06-20 16:02:47 +0200
committerFrediano Ziglio <fziglio@redhat.com>2018-06-20 17:35:43 +0100
commit82a5f19d998b88b7e1f7c89672f986f88ff7be31 (patch)
tree406f14824fab50f5632e0cdfe1d1b429ad182f3a /tests
parenta3598f62aa9075cb30de4761c4b9cf037b07170e (diff)
log: Only install glib log handler if SPICE_DEBUG_LEVEL is set
Calling g_log_set_handler() is problematic as this means applications using spice-server won't be able to use g_log_set_default_handler to manage spice logging output themselves. Since this call is only needed for backwards compatibility (so that calling g_log together with SPICE_DEBUG_LEVEL set has the expected behaviour), we can install it only when SPICE_DEBUG_LEVEL is set. Then we should deprecate SPICE_DEBUG_LEVEL once and for all. Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions