diff --git a/plugins/inputs/reader/dev/telegraf.conf b/plugins/inputs/reader/dev/telegraf.conf index fd89ae4f3..caeaae4fd 100644 --- a/plugins/inputs/reader/dev/telegraf.conf +++ b/plugins/inputs/reader/dev/telegraf.conf @@ -1,12 +1,8 @@ [[inputs.reader]] - -files = ["/var/log/test.log"] - -data_format = "json" - -name_override = "json_reader" - + files = ["/var/log/test.log"] + data_format = "json" + name_override = "json_reader" [[outputs.file]] files = ["stdout"] \ No newline at end of file diff --git a/plugins/inputs/reader/reader_test.go b/plugins/inputs/reader/reader_test.go index 8295b294b..c46eb0272 100644 --- a/plugins/inputs/reader/reader_test.go +++ b/plugins/inputs/reader/reader_test.go @@ -17,7 +17,6 @@ func TestRefreshFilePaths(t *testing.T) { } r.refreshFilePaths() - //log.Printf("filenames: %v", filenames) assert.Equal(t, len(r.Filenames), 2) } func TestJSONParserCompile(t *testing.T) {