From 9ff653f42131e0dda687d472ebc56872cf8bedf3 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 2 Jun 2017 08:33:59 -0700 Subject: [PATCH] React to logging in DI changes (#239) --- samples/ResponseCompressionSample/Startup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/ResponseCompressionSample/Startup.cs b/samples/ResponseCompressionSample/Startup.cs index 59afecc..e10baad 100644 --- a/samples/ResponseCompressionSample/Startup.cs +++ b/samples/ResponseCompressionSample/Startup.cs @@ -72,7 +72,8 @@ namespace ResponseCompressionSample .UseKestrel() .ConfigureLogging(factory => { - factory.AddConsole(LogLevel.Debug); + factory.AddConsole() + .SetMinimumLevel(LogLevel.Debug); }) .UseStartup() .Build();