diff --git a/driver.go b/driver.go index f938f0a7..2f34321f 100644 --- a/driver.go +++ b/driver.go @@ -387,6 +387,9 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive if driverConfig.Logging.Driver == "" || driverConfig.Logging.Driver == LOG_DRIVER_NOMAD { // Only modify container loggin path if LogCollection is not disabled if !d.config.DisableLogCollection { + // MUST SET LOGGING DRIVER HERE: + createOpts.LogConfiguration.Driver = "json-file" + createOpts.ContainerBasicConfig.LogConfiguration.Path = cfg.StdoutPath } } else if driverConfig.Logging.Driver == LOG_DRIVER_JOURNALD {