Log4j stack trace depth

Discussion in 'Java' started by orantmp1@walla.com, Oct 26, 2005.

  1. Guest

    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...
     
    , Oct 26, 2005
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christian Ashby
    Replies:
    5
    Views:
    8,449
    Oscar kind
    Aug 24, 2004
  2. Replies:
    0
    Views:
    915
  3. Replies:
    0
    Views:
    838
  4. Replies:
    13
    Views:
    714
    Old Wolf
    Feb 22, 2007
  5. Tony
    Replies:
    6
    Views:
    684
  6. karthikbalaguru

    Stack depth

    karthikbalaguru, Dec 16, 2008, in forum: C Programming
    Replies:
    17
    Views:
    2,200
  7. Glenn Parker

    Maximum stack depth

    Glenn Parker, Mar 17, 2005, in forum: Ruby
    Replies:
    24
    Views:
    1,074
    Premshree Pillai
    Mar 19, 2005
  8. Isaac Gouy
    Replies:
    0
    Views:
    180
    Isaac Gouy
    Nov 30, 2005
Loading...