BUG/MINOR: log: missing timezone on iso dates.
authorEmeric Brun <ebrun@haproxy.com>
Thu, 2 Jul 2020 15:22:17 +0000 (17:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Jul 2020 15:56:11 +0000 (17:56 +0200)
commitb39a3754d9fcf9658b9bdbe1e38d1241d327e842
tree75d179ec291e293bcc20f562b64bcc4e2a4f57ce
parent9f9b22c4f1730e5fe05886b14c4b35a1cb92a379
BUG/MINOR: log: missing timezone on iso dates.

The function timeofday_as_iso_us adds now the trailing local timezone offset.
Doing this the function could be use directly to generate rfc5424 logs.

It affects content of a ring if the ring's format is set to 'iso' and 'timed'.
Note: the default ring 'buf0' is of type 'timed'.

It is preferable NOT to backport this to stable releases unless bugs are
reported, because while the previous format is not correct and the new
one is correct, there is a small risk to cause inconsistencies in log
format to some users who would not expect such a change in a stable
cycle.
src/sink.c
src/time.c