remote_syslog_logger icon indicating copy to clipboard operation
remote_syslog_logger copied to clipboard

RemoteSyslogLogger::UdpSender error: IOError: closed stream

Open DannyBen opened this issue 7 years ago • 2 comments
trafficstars

I have implemented RemoteSyslogLogger successfully for the most part, but with one of the implementation points I am getting this error:

RemoteSyslogLogger::UdpSender error: IOError: closed stream

without any additional details (other than "original message").

Any idea how to debug this?

For context, it happens only on my DelayedJob process, which was also set to use RemoteSyslogLogger.

Also, the configuration of the RemoteSyslogLogger seems to be ok, and I was able to even send an event manually by using DelayedJob::Worker.logger.info

More details in the question I opened in StackOverflow - with easy reproduction steps:

DannyBen avatar Jul 16 '18 09:07 DannyBen

Any update on this?

CtrlDot avatar Nov 29 '19 21:11 CtrlDot

FYI we solved this by running DJ in foreground via bundle exec rake jobs:work rather than as a daemon.

uberllama avatar Dec 04 '19 18:12 uberllama