From aaa877fba2bb9514e7a41a63149fa4ec17d50d2d Mon Sep 17 00:00:00 2001 From: martincostello Date: Sun, 26 Nov 2023 08:57:29 +0000 Subject: [PATCH] Set minimum log level Set the minimum log level to Information. --- src/LondonTravel.Skill/AlexaFunction.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LondonTravel.Skill/AlexaFunction.cs b/src/LondonTravel.Skill/AlexaFunction.cs index d5df7dc6..fd9df1d4 100644 --- a/src/LondonTravel.Skill/AlexaFunction.cs +++ b/src/LondonTravel.Skill/AlexaFunction.cs @@ -107,7 +107,8 @@ protected virtual void ConfigureServices(IServiceCollection services) services.AddLogging((builder) => { builder.AddJsonConsole() - .AddFilter(FilterLogs); + .AddFilter(FilterLogs) + .SetMinimumLevel(LogLevel.Information); }); services.AddHttpClients();