From a07240e6e71d6a75afcf23d8e4e65d6231f64acd Mon Sep 17 00:00:00 2001 From: Leon Zhang Date: Tue, 20 Nov 2018 13:49:41 +0800 Subject: [PATCH] remove Log.Debug from ParseConfig, regression --- common/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/config.go b/common/config.go index 2e453cd..c4f7954 100644 --- a/common/config.go +++ b/common/config.go @@ -700,7 +700,8 @@ func ParseConfig(configFile string) error { if err != nil { Log.Error("ParseConfig Config.readConfigFile Error: %v", err) } - Log.Debug("ParseConfig use config file: %s", config) + // LogOutput now is "console", if add Log.Debug here will print into stdout anyway. + // Log.Debug("ParseConfig use config file: %s", config) break } } -- GitLab