diff --git a/CHANGELOG.md b/CHANGELOG.md index 775933713..9fdfbc32d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,6 +112,7 @@ be deprecated eventually. - [#2684](https://github.com/influxdata/telegraf/pull/2684): Fix ipmi_sensor config is shared between all plugin instances - [#2450](https://github.com/influxdata/telegraf/issues/2450): Network statistics not collected when system has alias interfaces - [#1911](https://github.com/influxdata/telegraf/issues/1911): Sysstat plugin needs LANG=C or similar locale +- [#2528](https://github.com/influxdata/telegraf/issues/2528): File output closes standard streams on reload. ## v1.2.1 [2017-02-01] diff --git a/plugins/outputs/file/file.go b/plugins/outputs/file/file.go index e05d0fe83..41605213e 100644 --- a/plugins/outputs/file/file.go +++ b/plugins/outputs/file/file.go @@ -44,7 +44,6 @@ func (f *File) Connect() error { for _, file := range f.Files { if file == "stdout" { writers = append(writers, os.Stdout) - f.closers = append(f.closers, os.Stdout) } else { var of *os.File var err error