Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use higher log level in InvocableHandlerMethod.getMethodArgumentValues() [SPR-12925] #17518

Closed
spring-issuemaster opened this issue Apr 16, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Apr 16, 2015

Flávio Viveiros de Castro Etrusco opened SPR-12925 and commented

If an exception occurs in argumentResolvers.resolveArgument() (e.g. a binding error in jackson) nothing is logged unless log level for org.springframework.web.method.HandlerMethod is TRACE. On TRACE log level every request is logged, however. It would be nice if InvocableHandlerMethod.getMethodArgumentValues() would log parameter info on DEBUG level.


Affects: 4.1.5

Issue Links:

  • #17858 InvocableHandlerMethod.getMethodArgumentValues() failure should lead to warn-level logging by default

Referenced from: commits fb7476f, 10a51a4

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Apr 16, 2015

Juergen Hoeller commented

Good point - switched to debug level for resolution exceptions now.

Juergen

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 17, 2015

Steve Roy commented

How come argument mapping issues don't log at the ERROR level? That seems to be the root problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.