React to logging in DI changes (#239)

This commit is contained in:
Pavel Krymets 2017-06-02 08:33:59 -07:00 committed by GitHub
parent 302308c827
commit 9ff653f421
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ namespace ResponseCompressionSample
.UseKestrel() .UseKestrel()
.ConfigureLogging(factory => .ConfigureLogging(factory =>
{ {
factory.AddConsole(LogLevel.Debug); factory.AddConsole()
.SetMinimumLevel(LogLevel.Debug);
}) })
.UseStartup<Startup>() .UseStartup<Startup>()
.Build(); .Build();