diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 9219cc47444..3e71840750f 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -60,6 +60,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di - Move TCP UDP start up into `server.Start()` {pull}4903[4903] - Changed the hashbang used in the beat helper script from `/bin/bash` to `/usr/bin/env bash`. {pull}5051[5051] - Changed beat helper script to use `exec` when running the beat. {pull}5051[5051] +- Fix reloader error message to only print on actual error {pull}5066[5066] *Auditbeat* diff --git a/libbeat/cfgfile/reload.go b/libbeat/cfgfile/reload.go index 83ffa75ed29..674b5195129 100644 --- a/libbeat/cfgfile/reload.go +++ b/libbeat/cfgfile/reload.go @@ -150,8 +150,9 @@ func (rl *Reloader) Run(runnerFactory RunnerFactory) { if runner != nil && rl.registry.Has(runner.ID()) { debugf("Remove module from stoplist: %v", runner.ID()) delete(stopList, runner.ID()) + } else { + logp.Err("Error creating module: %s", err) } - logp.Err("Error creating module: %s", err) continue }