diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index dd8389b6c35..a3fba8f8ed1 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -57,6 +57,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Fix ILM policy always being overwritten. {pull}11671[11671] - Fix template always being overwritten. {pull}11671[11671] - Fix matching of string arrays in contains condition. {pull}11691[11691] +- Fix initialization of the TCP input logger. {pull}11605[11605] *Auditbeat* diff --git a/filebeat/input/tcp/input.go b/filebeat/input/tcp/input.go index adaedc30186..90f0cf4f691 100644 --- a/filebeat/input/tcp/input.go +++ b/filebeat/input/tcp/input.go @@ -90,7 +90,7 @@ func NewInput( started: false, outlet: out, config: &config, - log: logp.NewLogger("tcp input").With(config.Config.Host), + log: logp.NewLogger("tcp input").With("address", config.Config.Host), }, nil }