From 51d4fa0fc180d9a85fbee3978a2cea5265befb7d Mon Sep 17 00:00:00 2001 From: Jasmine Dahilig Date: Mon, 17 Jun 2019 11:21:17 -0700 Subject: [PATCH] remove non-blocking log constraint for docker driver --- drivers/docker/driver.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/docker/driver.go b/drivers/docker/driver.go index ca15e08ca35..dbb0f1f24ed 100644 --- a/drivers/docker/driver.go +++ b/drivers/docker/driver.go @@ -746,12 +746,10 @@ func (d *Driver) createContainerConfig(task *drivers.TaskConfig, driverConfig *T if hostConfig.LogConfig.Config == nil { hostConfig.LogConfig.Config = make(map[string]string) } - hostConfig.LogConfig.Config["mode"] = "non-blocking" hostConfig.LogConfig.Config["max-file"] = "3" hostConfig.LogConfig.Config["max-size"] = "10m" } logger.Debug("configured logs", "type", hostConfig.LogConfig.Type, - "mode", hostConfig.LogConfig.Config["mode"], "max-file", hostConfig.LogConfig.Config["max-file"], "max-size", hostConfig.LogConfig.Config["max-size"])