diff --git a/src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReader.cs b/src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReader.cs index 1049b85..bad9fdc 100644 --- a/src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReader.cs +++ b/src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReader.cs @@ -200,12 +200,12 @@ void ApplyMinimumLevelConfiguration(IConfigurationSection directive, Action + { + ["Serilog"] = "", + ["Serilog:MinimumLevel"] = "", + ["Serilog:MinimumLevel:Default"] = "Information", + + }) + .Build(); + + new LoggerConfiguration() + .ReadFrom.Configuration(configuration) + .CreateLogger(); + } }