Skip to content

Commit 22165b3

Browse files
committed
try logging
1 parent d5a9511 commit 22165b3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/BenchmarksApps/TLS/Kestrel/Program.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@ void ConfigureListen(KestrelServerOptions serverOptions, IConfigurationRoot conf
117117
}
118118
});
119119

120+
// to see
121+
builder.WebHost.ConfigureLogging((_, factory) =>
122+
{
123+
factory.SetMinimumLevel(LogLevel.Debug);
124+
factory.AddConsole();
125+
});
126+
120127
var app = builder.Build();
121128

122129
app.UseHostFiltering();

0 commit comments

Comments
 (0)