How to avoid "sendmsg()/writev() failed in logger" error in haproxy docker

Viewed 1187

I'm getting this error in the docker logs of my haproxy:

[ALERT] 135/235942 (8) : sendmsg()/writev() failed in logger #1: No such file or directory (errno=2)

My setup is described in the following question: HAProxy in docker

Can anyone suggest how to fix that?

Also, how can I view/enable logs of actual accesses to the haproxy and routing activity to the different servers?

Thanks

1 Answers

Check if there is /var/lib/haproxy/dev/log - if not, restart rsyslogd.

Related