Skip to content

Commit

Permalink
Don't close stdout on config reload.
Browse files Browse the repository at this point in the history
fixes #2528
  • Loading branch information
danielnelson committed Apr 24, 2017
1 parent 3c28b93 commit 2084dc9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
1 change: 0 additions & 1 deletion plugins/outputs/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2084dc9

Please sign in to comment.