diff --git a/x-pack/elastic-agent/CHANGELOG.next.asciidoc b/x-pack/elastic-agent/CHANGELOG.next.asciidoc index 1e825bcce08..cbc7581b3f7 100644 --- a/x-pack/elastic-agent/CHANGELOG.next.asciidoc +++ b/x-pack/elastic-agent/CHANGELOG.next.asciidoc @@ -73,6 +73,7 @@ - Fix startup with failing configuration {pull}26057[26057] - Change timestamp in elatic-agent-json.log to use UTC {issue}25391[25391] - Fix add support for Logstash output. {pull}24305[24305] +- Do not log Elasticsearch configuration for monitoring output when running with debug. {pull}26583[26583] ==== New features diff --git a/x-pack/elastic-agent/pkg/agent/operation/monitoring.go b/x-pack/elastic-agent/pkg/agent/operation/monitoring.go index 4712759ab70..07491cbd6ab 100644 --- a/x-pack/elastic-agent/pkg/agent/operation/monitoring.go +++ b/x-pack/elastic-agent/pkg/agent/operation/monitoring.go @@ -351,8 +351,6 @@ func (o *Operator) getMonitoringFilebeatConfig(outputType string, output interfa }, } - o.logger.Debugf("monitoring configuration generated for filebeat: %v", result) - return result, true } @@ -585,8 +583,6 @@ func (o *Operator) getMonitoringMetricbeatConfig(outputType string, output inter }, } - o.logger.Debugf("monitoring configuration generated for metricbeat: %v", result) - return result, true }