This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 246
Exceptions aren't logged by EventLogger (dev branch) #375
Comments
@BrennanConroy could you take a look? |
This was an intentional change |
It was an intentional change that the exception is not included in the event log? |
Sure, the Exception.ToString should be added to the body. Might want to have two newlines between the message and the exception for readability. |
That would cause the ConsoleLogger to output the exception twice - which is not really useful/wanted. |
@lodejard did you mean EventLog logger should be changed to include Exception.ToString()? |
Yes |
Then I misunderstood you. I'm sorry. |
No problem, what I wrote could have meant either thing. :) |
So we were both right :D |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems that in commit 4528bdb, the MessageFormatter helper function in LoggerExtensions.cs was changed to not include the exception. The ConsoleLogger logs the exception by itself, but the EventLogger doesn't.
The text was updated successfully, but these errors were encountered: