graylog-labs / gelf-rb

Ruby GELF library (Graylog Extended Log Format)
https://rubygems.org/gems/gelf
MIT License
153 stars 104 forks source link

Handle server disconnection properly #70

Closed jsmucr closed 6 years ago

jsmucr commented 6 years ago

In case the server restarted unexpectedly, the first message to come after got lost as it was written to a broken socket.

CLAassistant commented 6 years ago

CLA assistant check
All committers have signed the CLA.

m-kind commented 6 years ago

This PR actually fixes a broken implementation! I was close to drop gelf-rb completely and switch over to syslog. Would be nice to have this being merged soon.