moby--moby/daemon/logger
Kenfe-Mickael Laventure fb2bb3653e Close logwatcher on context cancellation
This commit addresses 2 issues:

  1. in `tailfile()` if somehow the `logWatcher.Msg` were to become full and the watcher closed before space was made into it, we were getting stuck there forever since we were not checking for the watcher getting closed
  2. when servicing `docker logs`, if the command was cancelled we were not closing the watcher (and hence notifying it to stop copying data)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-17 14:36:13 -08:00
..
awslogs Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
etwlogs fix syscall.GUID composite literal uses unkeyed fields 2017-01-03 17:12:15 +08:00
fluentd Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
gcplogs Merge pull request #28852 from miaoyq/rename-log-context 2016-12-30 01:13:49 +01:00
gelf Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
journald Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
jsonfilelog Close logwatcher on context cancellation 2017-01-17 14:36:13 -08:00
logentries Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
loggerutils Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
splunk Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
syslog Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
copier.go
copier_test.go
factory.go Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00
logger.go remove client-side for supported logging drivers 2016-12-19 14:30:01 +01:00
logger_test.go
loginfo.go Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00