moby--moby/utils
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
..
broadcastwriter BroadcastWriter refactoring 2014-07-03 10:12:53 +04:00
filters
testdata
checksum.go
daemon.go
http.go
jsonmessage.go Updated docker logs timestamp to RFC3339 2014-07-09 11:59:06 -04:00
jsonmessage_test.go
jsonmessagepublisher.go Refactor events publishing 2014-06-17 21:56:22 +02:00
jsonmessagepublisher_test.go Refactor events publishing 2014-06-17 21:56:22 +02:00
progressreader.go
random.go
resumablerequestreader.go
stdcopy.go Fix stdcopy when reads large frame at once 2014-06-19 21:42:55 +04:00
streamformatter.go
streamformatter_test.go
tarsum.go
tarsum_test.go Fix go vet errors 2014-06-18 17:39:57 +00:00
timeoutconn.go
timeoutconn_test.go
uname_linux.go
uname_unsupported.go
utils.go Move WriteBroadcaster to separate package as BroadcastWriter 2014-07-02 23:31:06 +04:00
utils_test.go Move WriteBroadcaster to separate package as BroadcastWriter 2014-07-02 23:31:06 +04:00