File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,11 @@ public DistributedApplicationBuilder(DistributedApplicationOptions options)
7070 _innerBuilder = new HostApplicationBuilder ( innerBuilderOptions ) ;
7171
7272 _innerBuilder . Logging . AddFilter ( "Microsoft.Hosting.Lifetime" , LogLevel . Warning ) ;
73- _innerBuilder . Logging . AddFilter ( "Microsoft.AspNetCore.Server.Kestrel" , LogLevel . None ) ;
73+ _innerBuilder . Logging . AddFilter ( "Microsoft.AspNetCore.Server.Kestrel" , LogLevel . Error ) ;
74+
75+ // This is so that we can see certificate errors in the resource server in the console logs.
76+ // See: https://github.com/dotnet/aspire/issues/2914
77+ _innerBuilder . Logging . AddFilter ( "Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer" , LogLevel . Warning ) ;
7478
7579 AppHostDirectory = options . ProjectDirectory ?? _innerBuilder . Environment . ContentRootPath ;
7680
You can’t perform that action at this time.
0 commit comments