UPDATE: The latest version of Intellij IDEA implements exactly what I\'m looking for. The question is how to implement this outside of the IDE (so I can to
This is probably due to the JVM update when it finds that the stack is exhausted of emitting the same log so it starts to omit it.
And the solution is using -XX:-OmitStackTraceInFastThrow flag to prevent JVM from optimizing built-in exceptions stack trace.
-XX:-OmitStackTraceInFastThrow