From ca794d5a13059e9522d5a6db11c403beb22e31df Mon Sep 17 00:00:00 2001 From: Shawn Date: Mon, 29 Jun 2020 10:37:19 +0800 Subject: [PATCH] should not print any config info to prevent config info leaked (#119) --- source/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/manager.go b/source/manager.go index 5417ee54..73f56f65 100755 --- a/source/manager.go +++ b/source/manager.go @@ -357,7 +357,7 @@ func (m *Manager) updateEvent(e *event.Event) error { if e == nil || e.EventSource == "" || e.Key == "" { return errors.New("nil or invalid event supplied") } - openlogging.GetLogger().Infof("event received %s", e) + openlogging.Info("config update event received") switch e.EventType { case event.Create, event.Update: m.configMapMux.Lock()