moby--moby/daemon/logger/jsonfilelog
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
..
jsonfilelog.go Remove some unused structs and fields 2016-03-01 09:59:29 -08:00
jsonfilelog_test.go Remove the logger.Message ContainerID field 2016-05-31 16:41:29 -04:00
read.go Fixing file handle leak for "docker logs" 2016-06-21 18:40:30 -07:00