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
Yong Tang 9528ea930c Sanitize docker labels when used as journald field names
This fix tries to address the issue raised in #23528 where
docker labels caused journald log error because journald
has special requirements on field names.

This fix addresses this issue by sanitize the labels per
requirements of journald.

Additional unit tests have been added to cover the changes.

This fix fixes #23528.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-08-05 15:20:47 -07:00
..
awslogs Improve logging of long log lines 2016-06-14 14:11:47 -04:00
etwlogs fix typos 2016-06-02 17:17:22 +08:00
fluentd Standardize default logging tag value 2016-06-04 12:38:12 +02:00
gcplogs Do not call out to Google on init 2016-03-17 11:06:21 -04:00
gelf Standardize default logging tag value 2016-06-04 12:38:12 +02:00
journald Sanitize docker labels when used as journald field names 2016-08-05 15:20:47 -07:00
jsonfilelog Merge pull request #22982 from nalind/log-newlines 2016-07-28 16:41:01 -07:00
loggerutils Standardize default logging tag value 2016-06-04 12:38:12 +02:00
splunk Standardize default logging tag value 2016-06-04 12:38:12 +02:00
syslog Standardize default logging tag value 2016-06-04 12:38:12 +02:00
context.go Remove docker/ prefix from log messages tag. 2016-05-12 22:29:30 -07:00
copier.go Merge pull request #22982 from nalind/log-newlines 2016-07-28 16:41:01 -07:00
copier_test.go Add a benchmark for logger.Copier 2016-06-09 09:47:13 -04:00
factory.go inherit the daemon log options when creating containers 2016-05-02 23:04:04 +08:00
logger.go Merge pull request #22982 from nalind/log-newlines 2016-07-28 16:41:01 -07:00