diff --git a/comp/logs/agent/config/endpoints.go b/comp/logs/agent/config/endpoints.go index c28f129b9a9c1..47ee9dae7cccb 100644 --- a/comp/logs/agent/config/endpoints.go +++ b/comp/logs/agent/config/endpoints.go @@ -270,7 +270,6 @@ func (e *Endpoint) GetStatus(prefix string, useHTTP bool) string { // onConfigUpdate handles configuration change notification to update the internal API key of the Endpoint if needed func (e *Endpoint) onConfigUpdate(l *LogsConfigKeys) { l.getConfig().OnUpdate(func(key string, oldVal interface{}, newVal interface{}) { - log.Errorf("notification: %s\n%#v\n%#v", key, oldVal, newVal) if key != e.configSettingPath { return }