[gnome-online-accounts] httpclient: Use the correct log domain



commit 1f5de26c7c6a5a1dd3bcd56815fe788afa5a058c
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Aug 2 20:28:05 2017 +0200

    httpclient: Use the correct log domain
    
    The log domain for this piece of code is "GoaBackend", not "goa". Use
    the standard G_LOG_DOMAIN macro, which is already defined, to specify
    the log domain.

 src/goabackend/goahttpclient.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goahttpclient.c b/src/goabackend/goahttpclient.c
index bcd484b..1522725 100644
--- a/src/goabackend/goahttpclient.c
+++ b/src/goabackend/goahttpclient.c
@@ -62,7 +62,7 @@ http_client_log_printer (SoupLogger         *logger,
   gchar *message;
 
   message = g_strdup_printf ("%c %s", direction, data);
-  g_log_default_handler ("goa", G_LOG_LEVEL_DEBUG, message, NULL);
+  g_log_default_handler (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, message, NULL);
   g_free (message);
 }
 


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