datalust / serilog-sinks-seq

A Serilog sink that writes events to the Seq structured log server
https://datalust.co/seq
Apache License 2.0
225 stars 50 forks source link

Limit the default pooled connection lifetime on .NET 5 and greater #180

Closed nblumhardt closed 2 years ago

nblumhardt commented 2 years ago

See https://github.com/datalust/serilog-sinks-seq/issues/178

.NET 5 is the first platform to always use SocketsHttpHandler by default; earlier versions of core and framework may use other handlers depending on configuration.

Clients can still override our default decisions here by supplying a messageHandler when configuring the sink.