-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
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
fzyzcjy
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug