Ktor client: how to remove(not include) REQUEST/FROM log
the request code
var myClient: HttpClient = HttpClient(Android) {
// Logging
install(Logging) {
logger = Logger.ANDROID
level = LogLevel.BODY
}
}
when try to request URL
myClient.get("https://www.sample.com/state")
try to run the request and got the following request log
2022-07-05 112058.667 977-1021/? W/System.err: [DefaultDispatcher-worker-1] INFO io.ktor.client.HttpClient - REQUEST: https://www.sample.com/state
2022-07-05 112058.667 977-1021/?...