Not consistant logging across Hosting #5910
Labels
area-hosting
Includes Hosting
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone
Following files and methods contains
Console.Write
orConsole.WriteLine
instead of using ILogger interface. That information, though informational might be useful in debugging process on remote host where we do not read console directly.Following files should have replaced those
Console.Write
with_logger.LogInformation(...)
:src/Microsoft.Extensions.Hosting/Internal/ConsoleLifetime.cs:35-37
src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs:100,101,109
Following files should have replaced those
Console.Write
with_logger.LogError(...)
:src/Microsoft.AspNetCore.Hosting/WebHostBuilder.cs:163,168
src/Microsoft.AspNetCore.Hosting/Internal/WebHost.cs:226
Following files and lines were provided from commit:
9f4c7c172f4876db77cc3b4e1eef50e61608ac60
The text was updated successfully, but these errors were encountered: