Skip to content

Commit

Permalink
Log file not found errors at debug level in tail input (influxdata#6540)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawkode authored and Mathieu Lecarme committed Apr 17, 2020
1 parent 80ea63e commit 48c0350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/tail/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (t *Tail) tailNewFiles(fromBeginning bool) error {
Logger: tail.DiscardingLogger,
})
if err != nil {
t.acc.AddError(err)
t.Log.Debugf("Failed to open file (%s): %v", file, err)
continue
}

Expand Down

0 comments on commit 48c0350

Please sign in to comment.