logspout
logspout copied to clipboard
[kind question] Reg INACTIVITY_TIMEOUT
trafficstars
Documentation states:
Logspout relies on the Docker API to retrieve container logs. A failure in the API may cause a log
stream to hang. Logspout can detect and restart inactive Docker log streams. Use the environment
variable INACTIVITY_TIMEOUT to enable this feature. E.g.: INACTIVITY_TIMEOUT=1m for a 1-minute
threshold.
- how does exactly detect the stream to hang?
- how does this interact with docker logging option "mode: non-blocking" ?
- what exactly restart?
can detect and restart inactive Docker log streams