Skip to content

Commit

Permalink
remove non-blocking log constraint for docker driver
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzyfresh committed Jun 17, 2019
1 parent cebfc74 commit 51d4fa0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/docker/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down

0 comments on commit 51d4fa0

Please sign in to comment.