1 Reply Latest reply on Aug 30, 2006 1:05 PM by peterj

    log4j truncates my stack traces, why?

    sjmenden

      I want to configure log4j.xml to NOT truncate my stack traces, and I've searched google for about an hour on how to do it to no avail, someone please HELP!

      Ex.

      Caused by: javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=dhcp59-211.rdu.redhat.com/22, BranchQual=, localId=22]
       at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:635)
       at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156)
       ... 48 more
      


      But I really want to see those 48 more.

        • 1. Re: log4j truncates my stack traces, why?
          peterj

          If you look at the previous stack trace, you should see the line

          at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156

          in the stack trace, so everything below that line is the same for both traces.