Log4j stack trace depth

O

orantmp1

How do I control the depth of the stack trace printed by Log4J, before
it truncates it and writes something like:

.... 56 more

It seems that the stack trace depth is shorter for nested exceptions,
up to the point where the depth is just 5 for exceptions that are
nested about 4 levels deep.
This is very frustrating when trying to trace exceptions in AOP code,
where any runtime exceptions are wrapped in an InvocationException!

Thanks for any help here...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top