diff --git a/src/BackOffice.BFF.WebApi/Program.cs b/src/BackOffice.BFF.WebApi/Program.cs index ad1e372..03bd5e0 100644 --- a/src/BackOffice.BFF.WebApi/Program.cs +++ b/src/BackOffice.BFF.WebApi/Program.cs @@ -14,13 +14,14 @@ if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) builder.WebHost.ConfigureKestrel(options => { // Setup a HTTP/2 endpoint without TLS. - options.ListenLocalhost(5000, o => o.Protocols = + options.ListenLocalhost(5001, o => o.Protocols = HttpProtocols.Http2); }); } var levelSwitch = new LoggingLevelSwitch(); var logger = new LoggerConfiguration() + .WriteTo.Console() .WriteTo.Seq(builder.Configuration["Seq:ServerUrl"] ?? "http://seq-svc:5341", apiKey: string.IsNullOrEmpty(builder.Configuration["Seq:ApiKey"]) ? null : builder.Configuration["Seq:ApiKey"], controlLevelSwitch: levelSwitch)