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 Remove docker/ prefix from log messages tag. 2016-05-12 22:29:30 -07:00
gcplogs Do not call out to Google on init 2016-03-17 11:06:21 -04:00
gelf Remove deprecated driver specific log tags 2016-05-10 07:43:44 -07:00
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 Remove docker/ prefix from log messages tag. 2016-05-12 22:29:30 -07:00
splunk 1.change validateNoSchema into validateNoScheme 2016-03-31 12:29:15 +08:00
syslog Remove docker/ prefix from log messages tag. 2016-05-12 22:29:30 -07:00
context.go Remove docker/ prefix from log messages tag. 2016-05-12 22:29:30 -07:00
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 inherit the daemon log options when creating containers 2016-05-02 23:04:04 +08:00
logger.go Remove the logger.Message ContainerID field 2016-05-31 16:41:29 -04:00