logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brendan Lawlor" <brendan.law...@spokesoft.com>
Subject Logging stack traces
Date Thu, 06 Mar 2003 15:31:52 GMT
Hi,
   In the hope that this isn't a lame question which I'll regret asking:

How can I log a stack trace from an exception? Normally I have to pass the
printStackTrace method a PrintWriter, which is fine for System.out, but not
for log.debug...

Any help appreciated,
Brendan.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message