-
Notifications
You must be signed in to change notification settings - Fork 472
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
NLogFactory - Removed explicit loading of nlog.config by default #419
Conversation
…ce NLog will automatically load its configuration
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.
Since this changes the default behavior of NLogFactory
, I think this change should be mentioned in the changelog.
@stakx Have now updated the ChangeLog.md |
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.
I am not overly familiar with NLog and Castle's logging facilities, but your change looks good to me in principle. Here's a couple of thoughts I had while looking over your PR.
…ult, since NLog will automatically load its configuration
I look at the constructor overload |
@devop228 You are welcome to create your own PR
|
@devop228 that is what I proposed in #418 before this pull request was created. Since Windsor's logging facility only has an I'm going to close this pull request because I think just doing this makes thing inconsistent between log4net and NLog, and doesn't push us to where we want to be with the factory's being just a shim, and not setting up configuration. |
Since NLog will automatically load its configuration. Resolves #418
See also: https://github.com/nlog/NLog/wiki/Configuration-file#configuration-file-locations