refactor(logging): ♻ sync log levels with API template default

This commit is contained in:
Collin M. Barrett 2021-10-30 14:27:56 -05:00
parent 8554b5746b
commit 7e3e9bb8cf

View file

@ -7,9 +7,9 @@ internal static class ConfigurationBuilder
{
public static readonly LoggerConfiguration BaseLoggerConfiguration =
new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
.MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning)
.MinimumLevel.Information()
.MinimumLevel.Override("Microsoft", LogEventLevel.Warning)
.MinimumLevel.Override("Microsoft.Hosting.Lifetime", LogEventLevel.Information)
.Enrich.FromLogContext()
.WriteTo.Console();
}