1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 Merge pull request #22982 from nalind/log-newlines 2016-07-28 16:41:01 -07:00
copier_test.go add tests for long log-lines and trailing lines 2016-11-03 10:01:00 -07:00
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 Fix a error of the function 'CopyMessage' in 'daemon/logger/logger.go' 2016-11-24 20:08:54 +08:00
loginfo.go Rename 'context' to 'loginfo' in the logger module 2016-12-29 19:13:44 +08:00