From dbb8b6e280e2864d35a2fcdd122e984d970796d6 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Wed, 10 Sep 2014 12:36:01 -0700 Subject: [PATCH] Fix for issue 7902. Use utils.RFC3339NanoFixed ("2006-01-02T15:04:05.000000000Z07:00") instead of time.RFC3339Nano to format our log timestamps - this way things are aligned, in particular the nano seconds are padded with zeros Signed-off-by: Doug Davis --- docs/sources/reference/commandline/cli.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/sources/reference/commandline/cli.md b/docs/sources/reference/commandline/cli.md index 936ef26a00..0920917f93 100644 --- a/docs/sources/reference/commandline/cli.md +++ b/docs/sources/reference/commandline/cli.md @@ -760,8 +760,9 @@ Passing a negative number or a non-integer to `--tail` is invalid and the value is set to `all` in that case. This behavior may change in the future. The `docker logs --timestamp` commands will add an RFC3339Nano -timestamp, for example `2014-05-10T17:42:14.999999999Z07:00`, to each -log entry. +timestamp, for example `2014-09-16T06:17:46.000000000Z`, to each +log entry. To ensure that the timestamps for are aligned the +nano-second part of the timestamp will be padded with zero when necessary. ## port