1

I am getting exception in the log. The stack trace ens with "... 11 more". But want to see actual 11 more lines, not just "... 11 more". Is there a way to start java the way that it gives full picture of the call stack on exception?

Dima
  • 1,326
  • 2
  • 13
  • 19
  • 1
    How are you logging it? – SLaks Dec 21 '17 at 20:41
  • 1
    Note: If it is a [chained `Exception`](https://docs.oracle.com/javase/tutorial/essential/exceptions/chained.html), those 11 more are the duplicates of the original `Exception` and the wrapper `Exception`. Thus, those 11 lines are already available just before a (or multiple) preceding `caused by`. – Izruo Dec 21 '17 at 20:47

1 Answers1

0

From my experience those "11 more" will be duplicates of the same exception. This is similar to how to print the full stacktrace in java

  • I do not think that is about the duplication of same exception. It looks like: at com. .... .... .... .java:41) ... 11 more. That is about the stack show is abrupt. – Dima Dec 21 '17 at 21:29