Customize exception logging

2019-09-16 Thread Lidstrom Daniel (SEIT)
Hello I am currently using this format: This is fine, however some exception stack traces cause the message to remove important information (the start of the message). I am logging exceptions like this: Log.WarnFormat("Lifecycle=TransientError Exception={0}", ex); Is there a way to customi

RE: Exception Logging

2004-12-08 Thread Marcel Kunz
41 (0)52 320 56 64 mailto:[EMAIL PROTECTED] -Original Message- From: Annette Sündermann [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 3:25 PM To: log4net-user@logging.apache.org Subject: Exception Logging I am using log4net 1.2.0 beta 8. According to the documentation

Exception Logging

2004-12-08 Thread Annette Sündermann
I am using log4net 1.2.0 beta 8. According to the documentation, the following code: this.logger.Error ( "exception observed!", new Exception("I am an Exception") ); should 'Log a message object with the ERROR level including the stack trace of the Exception passed as a parameter.' On my log