Richie Bresnan
02/22/2022, 5:29 PMLogLevel.HEADERS
) application/customer secrets in the auth header are logged as below. I’d like to redact these secrets, as ******
. Has anyone found a non-invasive way of doing this?
[***] 2022-02-22 08:59:45.641 [main] INFO io.ktor.client.HttpClient - METHOD: HttpMethod(value=GET)
[***] 2022-02-22 08:59:45.641 [main] INFO io.ktor.client.HttpClient - COMMON HEADERS
[***] 2022-02-22 08:59:45.641 [main] INFO io.ktor.client.HttpClient - -> Accept: application/json
[***] 2022-02-22 08:59:45.641 [main] INFO io.ktor.client.HttpClient - -> Accept-Charset: UTF-8
[***] 2022-02-22 08:59:45.641 [main] INFO io.ktor.client.HttpClient - -> Authorization: token my_super_secret_token_that_I_want_to_redact
Matthew Gast
02/22/2022, 6:27 PMMatthew Gast
02/22/2022, 6:27 PMRichie Bresnan
02/22/2022, 7:15 PM