Is it possible to remove all logging from the minimal web api? I searched for it and my code currently looks like this:
builder.Services.AddLogging(b => {
b.ClearProviders();
});
This almost works for everything besides the startup message seen below:
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: PATH REDACTED
Is it possible to remove this startup message as well?