remote_syslog_logger
remote_syslog_logger copied to clipboard
RemoteSyslogLogger::UdpSender error: IOError: closed stream
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:
Any update on this?
FYI we solved this by running DJ in foreground via bundle exec rake jobs:work rather than as a daemon.