awslogs batch size exceeds service limits #35725
Labels
area/logging
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/17.06
Description
awslogs driver improperly batches log messages that are too large for CloudWatch to accept. This is due to incorrect accounting of the total size of the message being logged. The overhead and total byte size calculation is not maintained between the scopes that evaluate the service limit.
I have prepared a patch to fix this issue
and will open a pull requestlink here.Steps to reproduce the issue:
Describe the results you received:
Container log messages are not logged to CloudWatch and are instead dropped by the driver due to an "exception" (error). This is error is printed in the Docker log:
Describe the results you expected:
I expected the log messages to be split as needed to log the message to CloudWatch Logs.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
AWS on a t2.small
The text was updated successfully, but these errors were encountered: