library(ulog)
ulog.init(path = "udp://127.0.0.1:5515", application = "myapp")
ulog("hello from R - udp")
However when I send messages via tcp they are not delivered:
library(ulog)
ulog.init(path = "tcp://127.0.0.1:5515", application = "myapp")
ulog("hello from R - tcp")
Also I see following when sending first message:
Error in ulog("hello from R - tcp") : ignoring SIGPIPE signal
Any thoughts/tips on how to debug what is going wrong? will be happy to fix and send PR (udp works great, but unfortunately not reliable - in certain scenarios I'm loosing ~50% of the messages).
Hi Simon. It looks like logging via
tcp
protocol doesn't work. I'm running localrsyslog
with simple configuration:And sending messages with:
However when I send messages via tcp they are not delivered:
Also I see following when sending first message:
Any thoughts/tips on how to debug what is going wrong? will be happy to fix and send PR (udp works great, but unfortunately not reliable - in certain scenarios I'm loosing ~50% of the messages).