Closed
Description
Lukas Krecan opened SPR-17383 and commented
This commit changed behavior of ExceptionResolver to log exceptions on WARN.
The trouble is, that we have alerts on Exceptions in logs and by default log on INFO and above so we started to get alerts for resolved exceptions.
As a workaround, we can change log level ExceptionHandlerExceptionResolver to ERROR, but we would have to change it every microservice we upgrade to newest Spring.
Affects: 5.1.1
Issue Links:
- AbstractHandlerExceptionResolver logs handled exceptions at WARN [SPR-17399] #21932 AbstractHandlerExceptionResolver logs handled exceptions at WARN ("is duplicated by")
- ExceptionHandlerExceptionResolver should not log propagated exceptions at warn level [SPR-14907] #19473 ExceptionHandlerExceptionResolver should not log propagated exceptions at warn level
- Consistent warn logging for handled exceptions [SPR-17178] #21714 Consistent warn logging for handled exceptions