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 933a87236f Reduce allocations for logfile reader
Before this change, the log decoder function provided by the log driver
to logfile would not be able to re-use buffers, causing undeeded
allocations and memory bloat for dockerd.

This change introduces an interface that allows the log driver to manage
it's memory usge more effectively.
This only affects json-file and local log drivers.

`json-file` still is not great just because of how the json decoder in the
stdlib works.
`local` is significantly improved.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-04-08 12:24:31 -07:00
..
awslogs
etwlogs
fluentd Fluentd: add fluentd-request-ack option 2020-02-11 02:13:24 +01:00
gcplogs
gelf
journald vendor containerd, BuildKit, protobuf, grpc, and golang.org/x 2020-03-03 10:25:20 +09:00
jsonfilelog Reduce allocations for logfile reader 2020-04-08 12:24:31 -07:00
local Reduce allocations for logfile reader 2020-04-08 12:24:31 -07:00
logentries
loggerutils Reduce allocations for logfile reader 2020-04-08 12:24:31 -07:00
splunk Fix more goimports 2020-02-11 18:56:25 +01:00
syslog
templates
adapter.go
adapter_test.go
copier.go
copier_test.go
factory.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
log_cache_opts.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
logger.go
logger_test.go
loginfo.go
metrics.go
plugin.go
plugin_unix.go
plugin_unsupported.go
proxy.go
ring.go
ring_test.go