docker / docker-py

A Python library for the Docker Engine API
https://docker-py.readthedocs.io/
Apache License 2.0
6.78k stars 1.67k forks source link

Log streaming with json-file rotate #2403

Open 56KBs opened 5 years ago

56KBs commented 5 years ago

When trying to use the SDK along with a container using "json-file" logging configuration with a rotate set to 200k, once the rotate occurs the streaming logs API will hang indefinitely and not pick up new logs coming in.

I've fixed this locally for now by increasing the max-size for the log, however is this something anyone else has experienced?

shin- commented 5 years ago

This is likely to be an API issue rather than a client issue. Can you report this on https://github.com/moby/moby instead?