[shotwell/wip/flickr-description: 2/7] Add soup logger



commit 02c904b251b88ff947cb87cf4875d08b4a60bea3
Author: Jens Georg <mail jensge org>
Date:   Wed Mar 11 22:59:36 2020 +0100

    Add soup logger

 plugins/common/RESTSupport.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/common/RESTSupport.vala b/plugins/common/RESTSupport.vala
index 9966b85c..16624746 100644
--- a/plugins/common/RESTSupport.vala
+++ b/plugins/common/RESTSupport.vala
@@ -34,6 +34,7 @@ public abstract class Session {
     protected Session(string? endpoint_url = null) {
         this.endpoint_url = endpoint_url;
         soup_session = new Soup.Session ();
+        soup_session.add_feature (new Soup.Logger (Soup.LoggerLogLevel.BODY, -1));
         this.soup_session.ssl_use_system_ca_file = true;
     }
     


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