moby--moby/daemon/logger/journald
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
..
journald.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
journald_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
journald_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
read.go Add canonical import comment 2018-02-05 16:51:57 -05:00
read_native.go Add canonical import comment 2018-02-05 16:51:57 -05:00
read_native_compat.go Add canonical import comment 2018-02-05 16:51:57 -05:00
read_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00