Added connection logs (#24607)
This commit is contained in:
parent
f52077f599
commit
8cbe97df4b
|
|
@ -28,10 +28,18 @@ namespace BasicLinkedApp
|
|||
.ConfigureLogging(logging =>
|
||||
{
|
||||
logging.AddConsole();
|
||||
logging.SetMinimumLevel(LogLevel.Debug);
|
||||
})
|
||||
.ConfigureWebHost(webHostBuilder =>
|
||||
{
|
||||
webHostBuilder.UseKestrel().UseStartup<Startup>();
|
||||
webHostBuilder.UseKestrel(o =>
|
||||
{
|
||||
o.ConfigureEndpointDefaults(lo =>
|
||||
{
|
||||
lo.UseConnectionLogging();
|
||||
});
|
||||
|
||||
}).UseStartup<Startup>();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue