logspout-cloudwatch
logspout-cloudwatch copied to clipboard
Logspout stops posting logs from some containers
Hello there,
I use logspout in docker cloud where I have multiple app containers in the single server. However logspout sometimes stops sending logs to cloudwatch for some of them. I see no error, they are just missing. Logspout container restart helps. This is my configuration:
logspout:
autoredeploy: true
command: 'cloudwatch://eu-west-1?DEBUG=1'
deployment_strategy: every_node
environment:
- ALLOW_TTY=true
- AWS_ACCESS_KEY_ID=*redacted*
- AWS_SECRET_ACCESS_KEY=*redacted*
- INACTIVITY_TIMEOUT=1m
- LOGSPOUT=ignore
- LOGSPOUT_GROUP=$DOCKERCLOUD_NODE_HOSTNAME
image: 'mdsol/logspout:latest'
restart: on-failure
volumes:
- '/var/run/docker.sock:/tmp/docker.sock'