moby--moby/daemon/logger
Brian Goff 5a664dc87d jsonfile: more defensive reader implementation
Tonis mentioned that we can run into issues if there is more error
handling added here. This adds a custom reader implementation which is
like io.MultiReader except it does not cache EOF's.
What got us into trouble in the first place is `io.MultiReader` will
always return EOF once it has received an EOF, however the error
handling that we are going for is to recover from an EOF because the
underlying file is a file which can have more data added to it after
EOF.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-03-18 18:44:46 +00:00
..
awslogs
etwlogs
fluentd
gcplogs
gelf
journald
jsonfilelog jsonfile: more defensive reader implementation 2021-03-18 18:44:46 +00:00
local
logentries
loggerutils
splunk
syslog
templates
adapter.go
adapter_test.go
copier.go
copier_test.go
factory.go
log_cache_opts.go
logger.go
logger_test.go
loginfo.go
metrics.go
plugin.go
plugin_unix.go
plugin_unsupported.go
proxy.go
ring.go
ring_test.go