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
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
..
awslogs awslogs: fix logrus import 2015-09-11 11:05:06 -07:00
fluentd add labels/env log option for fluentd 2015-10-12 21:12:46 +02:00
gelf add labels/env log option for gelf 2015-10-12 21:12:46 +02:00
journald add labels/env log option for journald 2015-10-12 21:12:46 +02:00
jsonfilelog add labels/env log option for jsonfile 2015-10-12 21:12:46 +02:00
loggerutils log driver - add ability to interpolate container context into the log tag field 2015-09-16 15:19:28 -07:00
syslog log driver - add ability to interpolate container context into the log tag field 2015-09-16 15:19:28 -07:00
context.go add labels/env log option for gelf 2015-10-12 21:12:46 +02:00
copier.go Doc fixes in logger, update NewCopier method 2015-07-29 10:05:46 -07:00
copier_test.go Doc fixes in logger, update NewCopier method 2015-07-29 10:05:46 -07:00
factory.go log driver - add ability to interpolate container context into the log tag field 2015-09-16 15:19:28 -07:00
logger.go Remove unused variable 2015-08-03 09:14:52 +08:00