open-nomad/drivers/docker/docklog
Mahmood Ali 8ec49fc133
Handle when cannot fetch docker logs (#5420)
Fix #5418

When using a docker logger that doesn't support log streaming through
API, currently docker logger runs a tight loop of Docker API calls
unexpectedly. This change ensures we stop fetching logs early.

Also, this adds some basic backoff strategy when Docker API logging
fails unexpectedly, to avoid accidentally DoSing the docker daemon.
2019-03-14 16:23:11 -04:00
..
proto Regenerate Proto files (#5421) 2019-03-14 10:56:27 -04:00
client.go driver/docker: rename container logger 2018-10-16 16:56:56 -07:00
docker_logger.go Handle when cannot fetch docker logs (#5420) 2019-03-14 16:23:11 -04:00
docker_logger_test.go Handle when cannot fetch docker logs (#5420) 2019-03-14 16:23:11 -04:00
plugin.go Plugins use parent loggers 2019-01-11 11:36:37 -08:00
server.go driver/docker: rename container logger 2018-10-16 16:56:56 -07:00