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

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

Open
pakrym opened this Issue Nov 13, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@pakrym

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.

@aspnet aspnet locked and limited conversation to collaborators Nov 13, 2018

@pakrym pakrym changed the title from Microsoft.AspNetCore.SpaServices and NodeServices wouldn't fallback to console logger by default to Microsoft.AspNetCore.SpaServices and NodeServices no longer fallback to console logger by default Nov 13, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.