1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #36159 from cosmo0920/add-partial-flag-into-record

Fluentd Log Driver: Add partial flag into record
This commit is contained in:
Sebastiaan van Stijn 2018-05-09 21:01:05 +02:00 committed by GitHub
commit fff01bc14d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,6 +163,9 @@ func (f *fluentd) Log(msg *logger.Message) error {
for k, v := range f.extra {
data[k] = v
}
if msg.Partial {
data["partial_message"] = "true"
}
ts := msg.Timestamp
logger.PutMessage(msg)