1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger
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
..
awslogs daemon: remove some unused code 2016-03-31 11:24:12 -07:00
etwlogs Windows: Add ETW logging driver plug-in 2016-02-16 13:24:49 -08:00
fluentd fluentd logger: support all options besides Unix sockets 2016-03-21 10:03:21 +00:00
gcplogs Do not call out to Google on init 2016-03-17 11:06:21 -04:00
gelf add gelf option to customize compression type and level 2016-03-15 11:06:06 +00:00
journald Open the journald following descriptor earlier 2016-03-24 10:12:51 -04:00
jsonfilelog Add support for reading logs extra attrs 2016-05-06 20:42:20 -04:00
loggerutils Merge pull request #21301 from cpuguy83/cleaner_file_log 2016-03-21 14:03:36 -07:00
splunk 1.change validateNoSchema into validateNoScheme 2016-03-31 12:29:15 +08:00
syslog Merge pull request #21613 from wzyboy/support-unixgram-syslog-address 2016-04-28 11:06:17 -04:00
context.go daemon/logger: fix typo in godoc 2015-12-17 15:52:33 -08:00
copier.go only close LogDriver after LogCopier is done 2016-01-18 17:47:57 +00:00
copier_test.go only close LogDriver after LogCopier is done 2016-01-18 17:47:57 +00:00
factory.go inherit the daemon log options when creating containers 2016-05-02 23:04:04 +08:00
logger.go Add support for reading logs extra attrs 2016-05-06 20:42:20 -04:00