Skip to content

ExceptionHandlerExceptionResolver started to log on WARN level [SPR-17383] #21916

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits 8e980d9, 41e6aa6, 1621125, 6ea3441

Backported to: 5.0.11, 4.3.21

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions