I am trying to read the /var/log/haproxy.log
file with the command: clog -f haproxy.log
but nothing happens. No window opens. How do I see my error log? I’m on pfsense.
Asked
Active
Viewed 3,223 times
0
![](../../users/profiles/205542.webp)
chicks
- 3,639
- 10
- 26
- 36
![](../../users/profiles/517368.webp)
Jean Mark Orfali
- 1
- 1
- 4
1 Answers
0
First you have to activate the logs in the settings.
Services -> HAProxy -> Settings, "Logging" section.
In "Remote syslog host" put /var/run/log
.
Save and apply. Now clog -f /var/log/haproxy.log
you should give you something.
![](../../users/profiles/486173.webp)
DeepBlueMussel
- 26
- 2
-
Thank you very much, it works !!! – Jean Mark Orfali Nov 27 '20 at 18:08