LianjiaTech / retrofit-spring-boot-starter

A spring-boot starter for retrofit, supports rapid integration and feature enhancements.(适用于retrofit的spring-boot-starter,支持快速集成和功能增强)
Apache License 2.0
1.78k stars 340 forks source link

能否支持 `okhttp3.logging.HttpLoggingInterceptor#redactHeader` #162

Open xloouis opened 1 year ago

xloouis commented 1 year ago

如题, 能否在 com.github.lianjiatech.retrofit.spring.boot.log.LoggingInterceptor 里加一个 redactHeader 的功能

chentianming11 commented 11 months ago

redactHeader具体是指什么功能

efemoney commented 1 month ago

Came here to report this same issue.

redactHeader can be used to hide sensitive information from logs like Authorization header that contains secret token or X-User-ID