1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/admin/logging
Yong Tang 7581cf96fb Additional syslog-format option to allow microsecond resolution in syslog timestamp.
This fix tries to add an additional syslog-format of `rfc5424micro` which follows
the same as rfc5424 except that it use microsecond resolution for timestamp. The
purpose is to solve the issue raised in #21793 where log events might lose its
ordering if happens on the same second.

The timestamp field in rfc5424 is derived from rfc3339, though the maximium
resolution is limited to "TIME-SECFRAC" which is 6 (microsecond resolution).

The appropriate documentation (`docs/admin/logging/overview.md`) has been updated
to reflect the change in this fix.

This fix adds a unit test to cover the newly introduced format.

This fix fixes #21793.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-04-08 05:00:11 +00:00
..
awslogs.md
etwlogs.md Windows: Add ETW logging driver plug-in 2016-02-16 13:24:49 -08:00
fluentd.md fluentd logger: support all options besides Unix sockets 2016-03-21 10:03:21 +00:00
gcplogs.md daemon/logger: Add logging driver for Google Cloud Logging 2016-03-01 08:06:10 -08:00
index.md Windows: Add ETW logging driver plug-in 2016-02-16 13:24:49 -08:00
journald.md Add tag support to journald logging driver, closes #19556 2016-01-27 10:52:19 +00:00
log_tags.md Add tag support to journald logging driver, closes #19556 2016-01-27 10:52:19 +00:00
overview.md Additional syslog-format option to allow microsecond resolution in syslog timestamp. 2016-04-08 05:00:11 +00:00
splunk.md 1.change validateNoSchema into validateNoScheme 2016-03-31 12:29:15 +08:00