[gnome-software: 1/7] gs-debug: Ignore glib-networking debug messages




commit c7d6e5b15bbec46e22a3da21f349f9348ab4c29c
Author: Philip Withnall <withnall endlessm com>
Date:   Fri May 22 19:16:13 2020 +0100

    gs-debug: Ignore glib-networking debug messages
    
    They are terribly verbose when doing TLS.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 lib/gs-debug.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/lib/gs-debug.c b/lib/gs-debug.c
index ad429a40..af278495 100644
--- a/lib/gs-debug.c
+++ b/lib/gs-debug.c
@@ -54,7 +54,9 @@ gs_log_writer_console (GLogLevelFlags log_level,
        }
 
        /* this is really verbose */
-       if (g_strcmp0 (log_domain, "dconf") == 0 &&
+       if ((g_strcmp0 (log_domain, "dconf") == 0 ||
+            g_strcmp0 (log_domain, "GLib-GIO") == 0 ||
+            g_strcmp0 (log_domain, "GLib-Net") == 0) &&
            log_level == G_LOG_LEVEL_DEBUG)
                return G_LOG_WRITER_HANDLED;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]