Package: haproxy
Version: 2.3.0-1
Severity: normal
Hello,
When updating from haproxy 2.2.5 to 2.3.0, the logs only go into syslog, not to
haproxy.log any more.
For fixing that, you need an additional line in the 49-haproxy.conf of rsyslog:
local0.* /var/log/haproxy.log
The diff would be:
--- 49-haproxy.conf 2020-11-16 18:27:04.628696482 +0100
+++ /tmp/49-haproxy.conf 2020-11-16 18:26:30.896699927 +0100
@@ -3,7 +3,8 @@
$AddUnixListenSocket /var/lib/haproxy/dev/log
# Send HAProxy messages to a dedicated logfile
+local0.* /var/log/haproxy.log
+
:programname, startswith, "haproxy" {
/var/log/haproxy.log
stop
Im am using bullseye/sid and kernel 5.7.0-2progress5+u1-amd64.
--
Berner Fachhochschule / Bern University of Applied Sciences
IT-Services / Team Linux & Infrastructure Services
Katharina Drexel
IT System Engineer
___________________________________________________________
Dammweg 3, CH-3013 Bern
Telefon direkt +41 31 848 48 87
Telefon Servicedesk +41 31 848 48 48
[email protected]
https://bfh.ch
https://bfh.science