Assuming you are in a try catch do something like Try {
} catch (Exception e) { logger.error("Error Performing Operation",e); } Trent Andrews [EMAIL PROTECTED] -----Original Message----- From: Mississippi John Hurt [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:40 PM To: Log4J Users List Subject: How get e.printStackTrace() text to print to log4j file? If I log the e.getStackTrace().toString() it just shows the object hash. How can I get the output of the e.printStackTrace() to a log4j file. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]