Re: logging a stack trace

2004-09-15 Thread Jeff Drew
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

RE: logging a stack trace

2004-09-15 Thread Lutz Michael
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

RE: logging a stack trace

2004-09-15 Thread Shapira, Yoav
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

logging a stack trace

2004-09-15 Thread Jeff Drew
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