1
0
mirror of https://github.com/etesync/android synced 2025-01-11 00:01:12 +00:00

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.
This commit is contained in:
Tom Hacohen 2018-02-06 19:15:02 +00:00
parent 0c786e0b7c
commit 1e7a38159f

View File

@ -128,7 +128,7 @@ public class HttpClient {
logger.finest(message);
}
});
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
builder.addInterceptor(loggingInterceptor);
}