From 1e7a38159f9809f68c5e267f64ef01bbcb26b75e Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 6 Feb 2018 19:15:02 +0000 Subject: [PATCH] Increase HTTP logging verbose level. HTTP requests and responses are logged when logging to file. Until now, only the existence of requests was logged. With this change, also the content and headers of the requests and responses is printed to the log. --- app/src/main/java/com/etesync/syncadapter/HttpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/etesync/syncadapter/HttpClient.java b/app/src/main/java/com/etesync/syncadapter/HttpClient.java index ad303ebf..ad9deb58 100644 --- a/app/src/main/java/com/etesync/syncadapter/HttpClient.java +++ b/app/src/main/java/com/etesync/syncadapter/HttpClient.java @@ -128,7 +128,7 @@ public class HttpClient { logger.finest(message); } }); - loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC); + loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY); builder.addInterceptor(loggingInterceptor); }