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
Stefan J. Wernli 54f11b84d2 Fixing file handle leak for "docker logs"
If "docker logs" was used on an offline container, the logger is leaked, leaving it up to the finalizer to close the file handle, which could block removal of the container.  Further, the json file logger could leak an open handle if the logs are read without follow due to an early return without a close.  This change addresses both cases.

Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
2016-06-21 18:40:30 -07:00
..
awslogs Fix build errors caused by update aws-sdk-go to v1.1.30 2016-05-28 18:49:17 -07:00
etwlogs fix typos 2016-06-02 17:17:22 +08:00
fluentd
gcplogs
gelf
journald Add support for reading journal extras and in UTC 2016-06-02 10:17:07 -04:00
jsonfilelog Fixing file handle leak for "docker logs" 2016-06-21 18:40:30 -07:00
loggerutils
splunk
syslog
context.go
copier.go Fix the comment for daemon/logger.Copier 2016-06-02 13:10:51 +09:00
copier_test.go Remove the logger.Message ContainerID field 2016-05-31 16:41:29 -04:00
factory.go
logger.go Remove the logger.Message ContainerID field 2016-05-31 16:41:29 -04:00