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
Anusha Ragunathan 0b4b0a7b5d Improve partial message support in logger
Docker daemon has a 16K buffer for log messages. If a message length
exceeds 16K, it should be split by the logger and merged at the
endpoint.

This change adds `PartialLogMetaData` struct for enhanced partial support
- LastPartial (bool) : indicates if this is the last of all partials.
- ID (string)        : unique 32 bit ID. ID is same across all partials.
- Ordinal (int starts at 1) : indicates the position of msg in the series of partials.
Also, the timestamps across partials in the same.

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2018-04-11 13:26:28 -07:00
..
awslogs Automated migration using 2018-03-16 11:03:43 -04:00
etwlogs Add canonical import comment 2018-02-05 16:51:57 -05:00
fluentd Add canonical import comment 2018-02-05 16:51:57 -05:00
gcplogs Add canonical import comment 2018-02-05 16:51:57 -05:00
gelf Add canonical import comment 2018-02-05 16:51:57 -05:00
journald Improve partial message support in logger 2018-04-11 13:26:28 -07:00
jsonfilelog Improve partial message support in logger 2018-04-11 13:26:28 -07:00
logentries Add canonical import comment 2018-02-05 16:51:57 -05:00
loggerutils add compress option for 'jsonfiles' log driver 2018-03-15 20:20:05 +08:00
splunk Automated migration using 2018-03-16 11:03:43 -04:00
syslog Add canonical import comment 2018-02-05 16:51:57 -05:00
templates Automated migration using 2018-03-16 11:03:43 -04:00
adapter.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
adapter_test.go Post migration assertion fixes 2018-03-16 11:03:46 -04:00
copier.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
copier_test.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
factory.go Add canonical import comment 2018-02-05 16:51:57 -05:00
logger.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
logger_test.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
loginfo.go Add canonical import comment 2018-02-05 16:51:57 -05:00
plugin.go Merge pull request #35829 from cpuguy83/no_private_mount_for_plugins 2018-02-21 12:28:13 +01:00
plugin_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
plugin_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
proxy.go Add canonical import comment 2018-02-05 16:51:57 -05:00
ring.go daemon/logger/ring.go: log error not instance 2018-03-03 16:29:57 +00:00
ring_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00