...
} catch( Exception e ) {
        logger.debug( e.getMessage(), e );
}
...

--

Thomas


| -----Original Message-----
| From: Andreas Bothner [ MTN - Innovation Centre ]
| [mailto:[EMAIL PROTECTED]
| Sent: 29 August 2003 14:55
| To: Log4J Users List
| Subject: how do I log an exception stacktrace
| 
| 
| Hi,
|  
| I apologize if this is a stupid question, but how would I log out an
| exception's stacktrace using logger.debug() ?
|  
| Regards,
| Andreas Bothner
| Systems Integrator
| 
| 
| NOTE: This e-mail message is subject to the MTN Group disclaimer 
| see http://www.mtn.co.za/email_disclaimer.asp
| 
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| 
| 


*************************************************************************
Copyright ERA Technology Ltd. 2003. (www.era.co.uk). All rights reserved. 
The information supplied in this Commercial Communication should be treated
in confidence.
No liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to