1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 23:34:57 +00:00

Make the logs path of system-docker configurable

This commit is contained in:
niusmallnan
2018-10-17 13:15:57 +08:00
committed by niusmallnan
parent 370e5f68a9
commit e605f82ad8
4 changed files with 8 additions and 6 deletions

View File

@@ -183,7 +183,7 @@ func getLaunchConfig(cfg *config.CloudConfig, dockerCfg *config.DockerConfig) (*
launchConfig.Environment = dockerCfg.Environment
if !cfg.Rancher.Debug {
launchConfig.LogFile = config.SystemDockerLog
launchConfig.LogFile = cfg.Rancher.Defaults.SystemDockerLogs
}
return &launchConfig, args