haproxy / haproxy

HAProxy Load Balancer's development branch (mirror of git.haproxy.org)
https://git.haproxy.org/
Other
4.86k stars 785 forks source link

Timestamp for the Notice, Alert, WARNING messages for haproxy containers #2706

Open rajinireddy38 opened 3 weeks ago

rajinireddy38 commented 3 weeks ago

Your Feature Request

It would be nice to have the timestamp added in the log messages for [NOTICE] [WARNING] [ALERT]

What are you trying to do?

I am just trying out to use various log formats for the haproxy.

Output of haproxy -vv

i am using version 2.8.1 docker image.
shadyabhi commented 3 weeks ago

+1 to the request for haproxy, not really for docker container. Is there a reason haproxy doesn't prepend timestamps today? Can that be added as a config option?

Darlelet commented 3 weeks ago

@shadyabhi some hints may be found there: 9f903af510771fc47525c7161c0c94763dff9e0d