Re: Logging stack trace

2007-02-01 Thread Ron Grabowski
From: Widerberg Marcus <[EMAIL PROTECTED]> To: Log4NET User Sent: Thursday, February 1, 2007 9:56:56 AM Subject: RE: Logging stack trace Hello Wayne, Thanks for your reply. Is anyone aware of if there is an way to expose a stacktrace property so that I can add it to a layout? Eithe

RE: Logging stack trace

2007-02-01 Thread Graham, Corey J.
n the LoggingEvent instance is passed we can manage the exception string the way we want to, but that's just icing on the cake. Corey -Original Message- From: Widerberg Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 3:16 AM To: Log4NET User Subject: Logging stack tr

RE: Logging stack trace

2007-02-01 Thread Widerberg Marcus
8239 > Mobile: > > Email: > [EMAIL PROTECTED] > Web: > www.wallstreetsystems.com > > Wall Street Systems - Empowering Treasury, Trading and Settlement > > > -Original Message- > From: Widerberg Marcus [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 01, 2007 9:08

RE: Logging stack trace

2007-02-01 Thread Wayne Bradney
MAIL PROTECTED] Web: www.wallstreetsystems.com Wall Street Systems - Empowering Treasury, Trading and Settlement -Original Message- From: Widerberg Marcus [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 9:08 AM To: Log4NET User Subject: RE: Logging stack trace Hello H

RE: Logging stack trace

2007-02-01 Thread Widerberg Marcus
februari 2007 14:47 To: Log4NET User Subject: Re: Logging stack trace Hi,Marcus. The best way I found to handle it, if I understand your question correctly, is to pass the entire exception object into the parameter, like so: try { SomeOperation(); }catch(Exception e){ log.Error(e); } Harry

Re: Logging stack trace

2007-02-01 Thread harry . douglass
Subject Logging stack trace Please respond to "Log4NET User" <[EMAIL PROTECTED]

Logging stack trace

2007-02-01 Thread Widerberg Marcus
Hello everyone, Is there a way to add a stack trace to each log event for a certain appender layout? I have an errorappender, and when it receives an event to log, I would like it to log the whole stack trace as well. This is for debug and test purposes. /marcus