Ok I'm an idiot. The JavaDoc states:
WARNING Note that passing a Throwable to this method will print the name of the Throwable but no stack trace. To print a stack trace use the debug(Object, Throwable) form instead Next time I'll read the docs. :) -dain > -----Original Message----- > From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 13, 2002 1:11 PM > To: '[EMAIL PROTECTED]' > Subject: [JBoss-dev] log4j and exceptions > > > Why don't I get the stack trace in my (debug) log when I log > an exceptions > (e.g. log.debug( new Exception() ))? I only log exceptions > when I am forced > to wrap an exception with another exception that does not > support exception > encapsulation, such as FinderException (as apposed to > EJBException, which > does support encapsulation). This makes it very hard to > debug the server. > It is the debug log after all. > > -dain > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
