mirror of
https://github.com/etesync/android
synced 2025-01-11 08:10:58 +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:
parent
0c786e0b7c
commit
1e7a38159f
@ -128,7 +128,7 @@ public class HttpClient {
|
|||||||
logger.finest(message);
|
logger.finest(message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);
|
loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
|
||||||
builder.addInterceptor(loggingInterceptor);
|
builder.addInterceptor(loggingInterceptor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user