Hello,
I'd like Spring boot to log the entire exception thrown in request handlers, not just the root cause.
Whereas the nested exception is the following:
Comment From: bclozel
The log statement you have shared is from Tomcat. What makes you think this is a problem in Spring Framework?
Comment From: testersen
A wild guess. Using @ControllerAdvice
seem to solve the issue, but is it possible to change some setting to log the entire throwable?
Comment From: bclozel
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.
In this case adding a ControllerAdvice makes the exception handled by Spring MVC. Please ask a question for this on StackOverflow.