catch (Exception e) {
logger.error ("something wrong", e);
// or
logger.debug ("something wrong", e);
...
}
On 10/26/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote:
If I log the e.getStackTrace().toString() it just shows the object hash.
How can I get the output of the e.printStackTrace
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: Log4