diff --git a/CHANGELOG.md b/CHANGELOG.md index c2ddc9d27576c..05088cfb1564f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -111,6 +111,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 e05d0fe83be17..41605213e98f6 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