Never mind - the issue for me is we're using IKVM to convert Java to .NET. And
Java Exception.toString() does not print everything out.
From: David Thielen
Sent: Tuesday, May 7, 2019 9:21 AM
To: [email protected]
Subject: How can I get it to log InnerExceptions?
What I want is basic, to have the log display the InnerException(s) for an
exception and the call stack for each.
My configuration is:
My code is:
logWriter.Error("RunReport", ex);
But all I get is: 2019-05-06 16:28:28,042 [1] ERROR
RunReport.net.windward.samples.RunReport -
RunReportnet.windward.env.DataSourceException: Could not load file:
c:\test\xyz.docx; subtype=INVALID_FILENAME;
And the above exception does have an InnerException (verified with the
debugger).
I am using log4net 2.0.8 which is the latest