Implement a Custom Logger & Redact Headers | raywenderlich.com

Use a custom logging client to control how the Interceptor logs the API calls and also redact sensitive information from the logs.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/20781027-okhttp-interceptors-in-android/lessons/4

Hello @subhrajyotisen , I understand why one would want to redact sensitive information in general but in this case, debugging, wouldn’t it be useful to leave it in? Are there any security issues if you don’t redact the sensitive information?