Thanks! This is a huge help!
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 9:56 AM
Subject: RE: logging a stack trace
Hi,
Logger.error("Exception: &qu
15, 2004 9:57 AM
To: Log4J Users List
Subject: logging a stack trace
How do I write a stack trace to a log?
I found some references in the mail archives, but couldn't find a solution.
I couldn't find it in Ceki's book. Here's a simple example of my goal.
Thanks!
public
Hi,
Logger.error("Exception: ", e);
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Jeff Drew [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 15, 2004 9:57 AM
>To: Log4J Users List
>Subject: logging a stack trace
>
>How do
How do I write a stack trace to a log?
I found some references in the mail archives, but couldn't find a solution. I
couldn't find it in Ceki's book. Here's a simple example of my goal. Thanks!
public class LogStackTrace {
static Logger logger = Logger.getLogger("LogStackTrace");
public s