mirror of
https://github.com/docker/cli.git
synced 2026-09-02 18:14:35 -05:00
When then non-blocking mode is specified, awslogs will: - No longer potentially block calls to logstream.Log(), instead will return an error if the awslogs buffer is full. This has the effect of dropping log messages sent to awslogs.Log() that are made while the buffer is full. - Wait to initialize the log stream until the first Log() call instead of in New(). This has the effect of allowing the container to start in the case where Cloudwatch Logs is unreachable. Both of these changes require the --log-opt mode=non-blocking to be explicitly set and do not modify the default behavior. Signed-off-by: Cody Roseborough <crrosebo@amazon.com> Upstream-commit: c7e379988c9cd6ec0af528e6f59eea3c51b36738 Component: engine