1
0
mirror of https://github.com/rancher/os.git synced 2025-09-07 01:31:06 +00:00

Make the logs path of system-docker configurable

This commit is contained in:
niusmallnan
2018-10-10 16:37:17 +08:00
committed by niusmallnan
parent 4907fc9a4d
commit 667b3f0b3c
4 changed files with 8 additions and 6 deletions

View File

@@ -46,7 +46,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