Skip to content

Microsoft.AspNetCore.SpaServices and NodeServices no longer fallback to console logger by default #328

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

Open
pakrym opened this issue Nov 13, 2018 · 0 comments
Labels
3.0.0 Announcements related to ASP.NET Core 3.0 Announcement Breaking change Documented The breaking change has been published to the .NET Core docs Migrated

Comments

@pakrym
Copy link

pakrym commented Nov 13, 2018

Microsoft.AspNetCore.SpaServices and Microsoft.AspNetCore.NodeServices used to automatically create a console logger when logging is not configured. To align them with how other AspNetCore packages implement logging we are removing this automatic fallback.

From now on Microsoft.AspNetCore.SpaServices and Microsoft.AspNetCore.NodeServices would not display any console log when logging is not configured.

To configure console logging please add services.AddLogging(builder => builder.AddConsole()) to your Setup.ConfigureServices method.

[This announcement has been migrated to: dotnet/docs#14902]

@aspnet aspnet locked and limited conversation to collaborators Nov 13, 2018
@pakrym pakrym added Announcement Breaking change 3.0.0 Announcements related to ASP.NET Core 3.0 labels Nov 13, 2018
@pakrym pakrym changed the title Microsoft.AspNetCore.SpaServices and NodeServices wouldn't fallback to console logger by default Microsoft.AspNetCore.SpaServices and NodeServices no longer fallback to console logger by default Nov 13, 2018
@scottaddie scottaddie added the Documented The breaking change has been published to the .NET Core docs label Dec 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.0.0 Announcements related to ASP.NET Core 3.0 Announcement Breaking change Documented The breaking change has been published to the .NET Core docs Migrated
Projects
None yet
Development

No branches or pull requests

3 participants