Skip to content

Log exception from @ExceptionHandler at higher level than debug [SPR-14861] #19427

Closed
@spring-projects-issues

Description

@spring-projects-issues

Ibrahim Ghazal opened SPR-14861 and commented

If an @ExceptionHandler annotated method throws an exception, the exception is only logged at the Debug level (see:

). This means that by default, no log is produced. I think this should instead be logged at Error level.

Note that spring-web-reactive already logs it at the Error level (see:

)


Affects: 4.3.3

Issue Links:

Referenced from: commits 7627c38, 7e80d2d

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions