1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/router/container
Brian Goff bd9d14a07b Add support for reading logs extra attrs
The jsonlog logger currently allows specifying envs and labels that
should be propagated to the log message, however there has been no way
to read that back.

This adds a new API option to enable inserting these attrs back to the
log reader.

With timestamps, this looks like so:
```
92016-04-08T15:28:09.835913720Z foo=bar,hello=world hello
```

The extra attrs are comma separated before the log message but after
timestamps.

Without timestaps it looks like so:
```
foo=bar,hello=world hello
```

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-05-06 20:42:20 -04:00
..
backend.go Update code for latest engine-api 2016-04-19 16:56:54 +02:00
container.go Merge pull request #21586 from calavera/remove_runconfig_from_routes 2016-03-29 08:40:49 -07:00
container_routes.go Add support for reading logs extra attrs 2016-05-06 20:42:20 -04:00
copy.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
exec.go Fix bug: exec non-exist command miss a "\n" 2016-04-28 16:39:00 +08:00
inspect.go fix typos in several files 2016-03-18 12:51:57 +08:00