diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 555cdcc7303..30b375fc2da 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -29,6 +29,9 @@ https://github.com/elastic/beats/compare/v6.3.0...6.3[Check the HEAD diff] *Affecting all Beats* +- Fix default value for logging.files.keepfiles. It was being set to 0 and now + it's set to the documented value of 7. {issue}7494[7494] + *Auditbeat* *Filebeat* diff --git a/libbeat/logp/config.go b/libbeat/logp/config.go index d2617c76813..da7ffc1b3b8 100644 --- a/libbeat/logp/config.go +++ b/libbeat/logp/config.go @@ -35,6 +35,7 @@ var defaultConfig = Config{ ToFiles: true, Files: FileConfig{ MaxSize: 10 * 1024 * 1024, + MaxBackups: 7, Permissions: 0600, }, addCaller: true,