Skip to content
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

Fixed double logging mixing UseNLog with AddNLog #459

Merged
merged 1 commit into from
Sep 6, 2019

Conversation

snakefoot
Copy link
Contributor

@snakefoot snakefoot commented Sep 5, 2019

See also NLog/NLog.Extensions.Logging#325

Requires release of NLog.Extension.Logging 1.5.4

@snakefoot
Copy link
Contributor Author

@304NotModified Anything else that is needed for release of NLog.Web + NLog.Web.AspNetCore 4.8.5 ?

@304NotModified
Copy link
Member

Only release notes etc.

@snakefoot
Copy link
Contributor Author

snakefoot commented Sep 30, 2019

This change had the unwanted side-effect that NLog replaced any previously added logging-provider. See also IServiceCollection.Replace

Created #485 to only look at other NLog-LoggingProviders using IServiceCollection.TryAddEnumerable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants