moby--moby/server
James Turnbull aa0eca03e6 Updated docker logs timestamp to RFC3339
Currently the docker logs timestamp flag generates log entries like:

    $ sudo docker logs -ft daemon_dave
    [May 10 13:06:17.934] hello world

It uses Go's StampMilli timestamp to generate the timestamp. The entry
is also wrapped in [ ].

This is non-standard operational timestamp and one that will require
custom parsing.

The new timestamp is RFC3999Nano and generates entries like:

    2014-05-10T17:42:14.999999999Z07:00 hello world

These are readily parsed by tools like ELK.

Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net> (github: jamtur01)

Docker-DCO-1.1-Signed-off-by: Tibor Vass <teabee89@gmail.com> (github: tiborvass)
2014-07-09 11:59:06 -04:00
..
MAINTAINERS update MAINTAINERS files 2014-06-16 22:20:07 +00:00
buildfile.go Pause/freeze containers during commit 2014-07-01 00:30:21 +00:00
server.go Updated docker logs timestamp to RFC3339 2014-07-09 11:59:06 -04:00
server_unit_test.go Refactor events publishing 2014-06-17 21:56:22 +02:00