How can I find HAProxy log history with Fedora 26
-
I know this issue is not specific to HAProxy. It is related to the change to using
journald
but I am not yet familiar enough with it to parse for historical information.Anyone out there able to give me some pointers?
-
You should be able to search by unit with
-u
. So using sshd as an example:journalctl -u sshd
-
@stacksofplates well that was a bust. it only shows errors related to the service itself.
journalctl -u haproxy
I need to find connection errors.
Will hit the googles in an hour when I arrive on site. -
@jaredbusch said in How can I find HAProxy log history with Fedora 26:
@stacksofplates well that was a bust. it only shows errors related to the service itself.
journalctl -u haproxy
I need to find connection errors.
Will hit the googles in an hour when I arrive on site.Ah ok, I didn't realize it doesn't log that automatically ( I don't ever use HAProxy). This may help from https://serverfault.com/questions/647395/haproxy-not-logging-requests