mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 03:30:43 +00:00
MINOR: sample: accept_date / request_date return %Ts / %tr timestamp values
Implement %[accept_date] which returns the same as %Ts log-format tag. Implement %[request_date] which is a timestamp for %tr. accept_date and request_date take an faculative unit argument which can be 's', 'ms' or 'us'. The goal is to be able to convert these 2 timestamps to HAProxy date format like its done with %T, %tr, %trg etc
This commit is contained in:
parent
2a46bfe239
commit
739c4e5b1e