]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Change timestamps in file-based logging to ISO 8601 time format.
authorGert Doering <gert@greenie.muc.de>
Sat, 20 Jun 2020 17:23:03 +0000 (19:23 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 20 Jun 2020 20:52:24 +0000 (22:52 +0200)
commitff063b6f19e035da56fbf49c891e6376543b391d
tree87727c2f7052b6311311ec206ab7df25e72a3a40
parent06498f21cdf051b0643606efda96b27b3c358e0c
Change timestamps in file-based logging to ISO 8601 time format.

Replace existing ctime() output which is hard to sort and compare
with ISO 8601 / RFC 3399 "YYYY-MM-DD hh:mm:dd" format for file-based
logging (stderr or --log file).

RFC 3399 5.6 permits use of a space for full-date-full-time separation,
which is used to enhance readability.

Sylog or --machine-readable-output are not affected.

Trac: #719

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20200620172303.15010-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20040.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/otime.c