[gnome-online-accounts/gnome-3-24] httpclient: Use the correct log domain
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-24] httpclient: Use the correct log domain
- Date: Thu, 3 Aug 2017 13:27:29 +0000 (UTC)
commit 347e74766b916a58d6ce57a62bf3b1ad7a5cea04
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 7070841..fddc279 100644
--- a/src/goabackend/goahttpclient.c
+++ b/src/goabackend/goahttpclient.c
@@ -69,7 +69,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]