Skip to content

Incomplete docker log message #1647

Description

@yuting-liu

Hey team,
we are using docker-java for docker logs and docker metrics ingestion.

The issue we encountered is that when a large amount of logs are ingested through logContainerCmd, one single log message will be splited in the middle of the message like this:

05/24/2021 16:31:12 2021-05-24T23:
05/24/2021 16:31:12 31:09:82XX - - [07/Mar/2016:17:53:45 -0000] "GET /twiki/bin/search/Main/SearchResult?scope=text&regex=on&search=Office%20*Locations[^A-Za-z] HTTP 1.1" 200 7771

This bug is introduced with PR #1351
As switching from FrameStreamProcessor to FramedInputStreamConsumer, logs are no longer ingested into Frame with complete log messages.

Currently we have to downgrade to version 3.2.8 to 3.2.1 so as to not breaking customers' log.

CC @bsideup can we make some change accordingly to have logContainerCmd still using the old Frame processor?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions