Actions
Regression #14764
openHAProxy local syslog not working
Status:
Confirmed
Priority:
Normal-package
Assignee:
-
Category:
haproxy
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
2.7.0
Affected Plus Version:
23.05.1
Affected Architecture:
All
Description
HAProxy package v0.63_1
Setting the syslog host to /var/run/log
in the HAProxy settings doesn't produce any entries in the pfSense system logs.
Following the suggestion in this post fixes the issue by making syslogd listen to a UDP socket:
- Edit
/etc/defaults/rc.conf
(Diagnostics -> Edit File). - Change
syslogd_flags="-s"
tosyslogd_flags="-s -b localhost -C"
- Restart the syslogd service (Status -> Services).
They also reference this forum post with more details:
https://forums.freebsd.org/threads/haproxy-not-logging.76876/#post-477067
Actions