From 612d96911563ca6b372da4ebd2801aac346f9a82 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Sun, 26 Apr 2020 18:04:44 -0700 Subject: [PATCH] Fixes typo in log message (#17897) (#17994) * Fixes typo in log message * Adding CHANGELOG entry --- CHANGELOG.next.asciidoc | 1 + filebeat/input/log/input.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index b22ac1aa1f4..18c84d03d94 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -121,6 +121,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Fix issue 17734 to retry on rate-limit error in the Filebeat httpjson input. {issue}17734[17734] {pull}17735[17735] - Remove migrationVersion map 7.7.0 reference from Kibana dashboard file to fix backward compatibility issues. {pull}17425[17425] - Fixed `cloudfoundry.access` to have the correct `cloudfoundry.app.id` contents. {pull}17847[17847] +- Fixed typo in log message. {pull}17897[17897] *Heartbeat* diff --git a/filebeat/input/log/input.go b/filebeat/input/log/input.go index ac0d71cf53d..b3cf4049551 100644 --- a/filebeat/input/log/input.go +++ b/filebeat/input/log/input.go @@ -161,7 +161,7 @@ func NewInput( // It goes through all states coming from the registry. Only the states which match the glob patterns of // the input will be loaded and updated. All other states will not be touched. func (p *Input) loadStates(states []file.State) error { - logp.Debug("input", "exclude_files: %s. Number of stats: %d", p.config.ExcludeFiles, len(states)) + logp.Debug("input", "exclude_files: %s. Number of states: %d", p.config.ExcludeFiles, len(states)) for _, state := range states { // Check if state source belongs to this input. If yes, update the state.