1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 filters: don't encode an empty set. update comments 2014-06-02 16:33:52 -04:00
testdata tarsum: adding the layer for "scratch" image 2014-05-13 15:08:48 -04:00
checksum.go registry: Added simple checksums (sha256) for layers 2014-02-23 18:50:04 -08:00
daemon.go go fmt 2013-11-07 12:27:33 -08:00
http.go Remove Trailing Whitespace in User-Agent 2014-05-16 17:15:04 -07:00
jsonmessage.go Updated docker logs timestamp to RFC3339 2014-07-09 11:59:06 -04:00
jsonmessage_test.go Handle small screens 2013-12-03 14:21:33 -08:00
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 fix progressbar in docker push 2013-12-20 16:55:41 -08:00
random.go Fixed up if statement 2014-06-10 10:02:00 -04:00
resumablerequestreader.go resume pulling the layer on disconnect 2014-06-02 21:41:22 +03:00
stdcopy.go Fix stdcopy when reads large frame at once 2014-06-19 21:42:55 +04:00
streamformatter.go Remove unused and racy "used" param from streamformatter 2014-06-02 21:43:07 +04:00
streamformatter_test.go Remove unused and racy "used" param from streamformatter 2014-06-02 21:43:07 +04:00
tarsum.go Use a more defensive vendored archive/tar import path to make it clear this isn't upstream's released archive/tar 2014-02-27 09:43:44 -07:00
tarsum_test.go Fix go vet errors 2014-06-18 17:39:57 +00:00
timeoutconn.go Use Timeout Conn wrapper to set read deadline for downloading layer 2014-05-27 22:50:04 -07:00
timeoutconn_test.go utils: add test for TimeoutConn 2014-06-07 15:11:57 -07:00
uname_linux.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
uname_unsupported.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
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