[virt-tools-list] [PATCH virt-viewer] Only filter virt-viewer debug messages

Marc-André Lureau marcandre.lureau at gmail.com
Mon Jul 21 15:59:10 UTC 2014


Filter only our own debug messages.

https://bugzilla.redhat.com/show_bug.cgi?id=1118365
---
 src/virt-viewer-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/virt-viewer-util.c b/src/virt-viewer-util.c
index 6fdaa07..1c6eaf9 100644
--- a/src/virt-viewer-util.c
+++ b/src/virt-viewer-util.c
@@ -323,7 +323,7 @@ void virt_viewer_util_init(const char *appname)
 
     g_set_application_name(appname);
 
-    g_log_set_default_handler(log_handler, NULL);
+    g_log_set_handler(G_LOG_DOMAIN, -1, log_handler, NULL);
 }
 
 static gchar *
-- 
1.9.3




More information about the virt-tools-list mailing list