hslogger icon indicating copy to clipboard operation
hslogger copied to clipboard

hslogger socket can block on sendTo

Open pheaver opened this issue 13 years ago • 1 comments

We are on Linux. We just discovered that even though the socket is opened in datagram mode, writing to the /dev/log socket can still block if the queue is full, unless the socket is opened in nonblocking mode. This means that our application using hslogger will hang if syslog is broken. Alternatively, logging to localhost UDP 514 would also fix this problem.

pheaver avatar Jan 18 '12 21:01 pheaver

ping

pheaver avatar Jun 23 '12 08:06 pheaver