[gnome-online-accounts] ewsclient: Log debug messages to track the status of the client



commit 23bb1c0c3734a2d071ab89397a0c0ed4696998b7
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Nov 28 13:09:47 2018 +0100

    ewsclient: Log debug messages to track the status of the client

 src/goabackend/goaewsclient.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
index f3d6278b..bdc658e1 100644
--- a/src/goabackend/goaewsclient.c
+++ b/src/goabackend/goaewsclient.c
@@ -136,6 +136,8 @@ ews_client_request_started (SoupSession *session, SoupMessage *msg, SoupSocket *
   GError *error;
   GTlsCertificateFlags cert_flags;
 
+  g_debug ("goa_ews_client_autodiscover(): request started (%p)", msg);
+
   error = NULL;
 
   if (!data->accept_ssl_errors
@@ -157,6 +159,8 @@ ews_client_autodiscover_cancelled_cb (GCancellable *cancellable, gpointer user_d
 {
   AutodiscoverData *data = user_data;
 
+  g_debug ("goa_ews_client_autodiscover(): cancelled");
+
   /* The callback will be invoked after we have returned to the main
    * loop.
    */
@@ -195,6 +199,8 @@ ews_client_autodiscover_response_cb (SoupSession *session, SoupMessage *msg, gpo
   xmlDoc *doc;
   xmlNode *node;
 
+  g_debug ("goa_ews_client_autodiscover(): response (%p, %u)", msg, msg->status_code);
+
   size = sizeof (data->msgs) / sizeof (data->msgs[0]);
 
   for (idx = 0; idx < size; idx++)


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