Fix order of arguments passed
This commit is contained in:
parent
65dcc5876f
commit
8ad6220cd3
|
@ -248,8 +248,7 @@ func LoadConfig(configFile string, disableAgent bool, disableAPI bool, quiet boo
|
||||||
if err := types.SetDefaultLoggerConfig(cConfig.Common.LogMedia,
|
if err := types.SetDefaultLoggerConfig(cConfig.Common.LogMedia,
|
||||||
cConfig.Common.LogDir, *cConfig.Common.LogLevel,
|
cConfig.Common.LogDir, *cConfig.Common.LogLevel,
|
||||||
cConfig.Common.LogMaxSize, cConfig.Common.LogMaxFiles,
|
cConfig.Common.LogMaxSize, cConfig.Common.LogMaxFiles,
|
||||||
cConfig.Common.LogMaxAge, cConfig.Common.CompressLogs,
|
cConfig.Common.LogMaxAge, cConfig.Common.LogFormat, cConfig.Common.CompressLogs,
|
||||||
cConfig.Common.LogFormat,
|
|
||||||
cConfig.Common.ForceColorLogs); err != nil {
|
cConfig.Common.ForceColorLogs); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue