Serilog.Sinks.Network icon indicating copy to clipboard operation
Serilog.Sinks.Network copied to clipboard

Package has major issues with degraded Sockets

Open Brondahl opened this issue 10 months ago • 0 comments

If the remote server is rebooted and we don't send a message within the 60s FIN packet timeout, then the TcpClient doesn't notice and keeps blindly sending logs into the void for ~18minutes, entirely dropping those logs.

Enabling KeepAlive or logging frequently both appear to mostly resolve it, but still leads to 1-2 log records getting lost when the destination reboots.

I've pulled this codebase into my project to refactor and fix it. Might raise a fixing PR eventually, but wanted to make sure this was documented on GH.

Brondahl avatar Dec 16 '24 10:12 Brondahl