Announcements icon indicating copy to clipboard operation
Announcements copied to clipboard

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

Open pakrym opened this issue 5 years ago • 0 comments

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]

pakrym avatar Nov 13 '18 18:11 pakrym