Reputation: 627
Here is a screenshot of my tomcat spring boot error log. How do I read this?
Specifically,
1.) where do I read there is says "63 more"?
2.) Is the top-most error the most generic, or most specific? I'm thinking most generic because it says "caused by" and then another error.
Thanks.
Upvotes: 0
Views: 1461
Reputation:
The first line contains the exact reason for the error, such as this:
java.lang.NullPointerException
abc.def.ghi.handleRequest(MyController.java:30)
...
The more you go down, the more information you get about the root cause. Usually you can find the cause at the bottom of the log message containing the stack trace. In your case, the cause for the exception is "No converter found capable of converting from type ...".
Upvotes: 0
Reputation: 369
First, get destination of log (console, file, database, ...) by find information in:
log4j.properties/log4j.yml/log4j.yaml
(if using log4j)log4j2.properties/log4j2.yml/log4j2.yaml
(if using log4j2)logback.properties/logback.yml
(if using logback)It's the most specific
most specific error <== root cause is here
^ cause by: generic error
^ cause by: generic error
...
^ cause by: most generic error
Upvotes: 1