1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/jsonlog
Daniel Dao 0083f6e984 add labels/env log option for jsonfile
this allows jsonfile logger to collect extra metadata from containers with
`--log-opt labels=label1,label2 --log-opt env=env1,env2`.

Extra attributes are saved into `attrs` attributes for each log data.

Signed-off-by: Daniel Dao <dqminh@cloudflare.com>
2015-10-12 21:12:46 +02:00
..
jsonlog.go Enable golint in pkg/jsonlog and pkg/jsonmessage. 2015-08-08 11:28:22 +08:00
jsonlog_marshalling.go Enable golint in pkg/jsonlog and pkg/jsonmessage. 2015-08-08 11:28:22 +08:00
jsonlog_marshalling_test.go Add test coverage to pkg/jsonlog 2015-06-27 10:13:47 +02:00
jsonlogbytes.go add labels/env log option for jsonfile 2015-10-12 21:12:46 +02:00
jsonlogbytes_test.go add labels/env log option for jsonfile 2015-10-12 21:12:46 +02:00