-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XmlLoggingConfiguration: Set config values on correct LogFactory object #1225
Conversation
Current coverage is
|
@@ -472,12 +476,18 @@ private void ParseNLogElement(NLogXmlElement nlogElement, string filePath, bool | |||
if (filePath != null) | |||
this.fileMustAutoReloadLookup[GetFileLookupKey(filePath)] = autoReload; | |||
|
|||
LogManager.ThrowExceptions = nlogElement.GetOptionalBooleanAttribute("throwExceptions", LogManager.ThrowExceptions); | |||
if (customLogFactory == null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can pass LogManager as custom factory? (maybe LogManager.Factory as internal readable?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
Looks good. Added some notes. Binary compat is the most important one. |
AppVeyor:
Wha?! I didn't touch this |
A It can we also a wrong auto-merge. Had that also once. |
@304NotModified I cannot see what is wrong. If I right-click on any of these |
well I would recommend to merge with master locally and then check it. |
d21d5ea
to
2ef2189
Compare
2ef2189
to
6495e48
Compare
The |
Will check it locally tomorrow. Strange issue. Have to be a missing |
merge bhaeussermann#1 and it is fixed :) some ambiguity about Conguration (class name vs property) |
XmlLoggingConfiguration: Set config values on correct LogFactory object
Thanks! |
Related to #1203