dimsuz
11/08/2021, 3:55 PMHttpLoggingInterceptor
sometimes I have to deal with polling `GET`s which get executed every 2 seconds, and they spam log a lot. I understand that there's no ready solution to disable logging on a per-url basis or to rate limit logs, but maybe I've missed something? Asking before I invent my own 🙂nitrog42
11/08/2021, 3:57 PMmbonnin
11/08/2021, 3:58 PMmbonnin
11/08/2021, 3:59 PMnitrog42
11/08/2021, 4:01 PMdimsuz
11/08/2021, 4:22 PMinterface {
@GET
@Header("DoNotLog: True")
fun pollingBeast()
}
And then interceptor could see this header, remove it and ignore this request in logs