[android] Set log level of successful HTTP requests to verbose

Fixes #4120
This commit is contained in:
Antonio Zugaldia
2016-02-29 10:31:39 -05:00
parent 6f9d5f58c4
commit bef7fe76ff

View File

@@ -83,7 +83,7 @@ class HTTPContext {
@Override
public void onResponse(Call call, Response response) throws IOException {
if (response.isSuccessful()) {
Log.d(LOG_TAG, String.format("[HTTP] Request was successful (code = %d).", response.code()));
Log.v(LOG_TAG, String.format("[HTTP] Request was successful (code = %d).", response.code()));
} else {
// We don't want to call this unsuccessful because a 304 isn't really an error
String message = !TextUtils.isEmpty(response.message()) ? response.message() : "No additional information";