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
Aaron Lehmann b642b3f21f Avoid using a map for log attributes
Having a map per log entry seemed heavier than necessary. These
attributes end up being sorted and serialized, so storing them in a map
doesn't add anything (there's no random access element). In SwarmKit,
they originate as a slice, so there's an unnecessary conversion to a map
and back.

This also fixes the sort comparator, which used to inefficiently split
the string on each comparison.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-07-18 19:01:20 -07:00
..
awslogs Spelling fixes 2017-07-03 13:13:09 -07:00
etwlogs [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
fluentd Replaces fluentd-address string by constant 2017-07-16 23:06:57 -07:00
gcplogs GCP Logs: send log line as jsonPayload.message instead of jsonPayload.data 2017-05-15 16:35:53 -07:00
gelf Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
journald Avoid using a map for log attributes 2017-07-18 19:01:20 -07:00
jsonfilelog Avoid using a map for log attributes 2017-07-18 19:01:20 -07:00
logentries Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
loggerutils Fix wrong filemode for rotate log files 2017-07-03 03:49:22 -04:00
splunk Merge pull request #27565 from rothrock/env-by-regex 2017-03-31 10:46:48 -04:00
syslog Fix stderr logging for journald and syslog 2017-06-26 14:37:43 -07:00
adapter.go Logging driver should receive same file in start/stop request 2017-06-08 10:05:52 +02:00
adapter_test.go * standardize timeouts for log reads and writes for logger adapter tests 2017-06-18 18:47:45 -07:00
copier.go
copier_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
factory.go Add logdrivers to /info 2017-04-11 18:07:15 -04:00
logger.go Avoid using a map for log attributes 2017-07-18 19:01:20 -07:00
logger_test.go Avoid using a map for log attributes 2017-07-18 19:01:20 -07:00
loginfo.go
plugin.go Logging driver should receive same file in start/stop request 2017-06-08 10:05:52 +02:00
plugin_unix.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
plugin_unsupported.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
proxy.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
ring.go Spelling fixes 2017-07-03 13:13:09 -07:00
ring_test.go fix some typos from module contrib to man 2017-02-18 10:08:55 +08:00