From ff9a64c631fe006e1f0e94cb915bdc1c53eeec2f Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Fri, 7 Apr 2017 17:58:57 +0800 Subject: [PATCH] donot log sensitive message to logs, fix #1949 --- src/adminserver/systemcfg/store/encrypt/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adminserver/systemcfg/store/encrypt/driver.go b/src/adminserver/systemcfg/store/encrypt/driver.go index 79216586f..24638d620 100644 --- a/src/adminserver/systemcfg/store/encrypt/driver.go +++ b/src/adminserver/systemcfg/store/encrypt/driver.go @@ -62,7 +62,7 @@ func (c *cfgStore) Read() (map[string]interface{}, error) { str, ok := v.(string) if !ok { - log.Warningf("%v is not string, skip decrypt", v) + log.Warningf("the value of %s is not string, skip decrypt", key) continue }