Project

General

Profile

Actions

Regression #14764

open

HAProxy local syslog not working

Added by Michael Vincent 6 months ago. Updated 4 months ago.

Status:
New
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:

  1. Edit /etc/defaults/rc.conf (Diagnostics -> Edit File).
  2. Change syslogd_flags="-s" to syslogd_flags="-s -b localhost -C"
  3. 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

Also available in: Atom PDF