mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
d13e162a63
Loggers that implement BufSize() (e.g. awslogs) uses the method to
tell Copier about the maximum log line length. However loggerWithCache
and RingBuffer hide the method by wrapping loggers.
As a result, Copier uses its default 16KB limit which breaks log
lines > 16kB even the destinations can handle that.
This change implements BufSize() on loggerWithCache and RingBuffer to
make sure these logger wrappes don't hide the method on the underlying
loggers.
Fixes #41794.
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cache | ||
file_unix.go | ||
file_windows.go | ||
file_windows_test.go | ||
log_tag.go | ||
log_tag_test.go | ||
logfile.go | ||
logfile_test.go |