mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7581cf96fb
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> |
||
---|---|---|
.. | ||
awslogs | ||
etwlogs | ||
fluentd | ||
gcplogs | ||
gelf | ||
journald | ||
jsonfilelog | ||
loggerutils | ||
splunk | ||
syslog | ||
context.go | ||
copier.go | ||
copier_test.go | ||
factory.go | ||
logger.go |