logspout icon indicating copy to clipboard operation
logspout copied to clipboard

[kind question] Reg INACTIVITY_TIMEOUT

Open jmarcos-cano opened this issue 6 years ago • 0 comments
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

jmarcos-cano avatar Jan 25 '19 16:01 jmarcos-cano