health: add more ci cases and fix bugs

This commit is contained in:
fatedier committed 2018-12-09 21:56:46 +08:00
1 parent 08c17c3247
commit aea9f9fbcc
14 files changed
+409 -66

No files matched your search

+5
View File
@@ -166,6 +166,11 @@ func parseClientCommonCfgFromCmd() (err error) {
g.GlbClientCfg.LogLevel = logLevel
g.GlbClientCfg.LogFile = logFile
g.GlbClientCfg.LogMaxDays = int64(logMaxDays)
if logFile == "console" {
g.GlbClientCfg.LogWay = "console"
} else {
g.GlbClientCfg.LogWay = "file"
}
return nil
}