Skip to content

Commit

Permalink
Log file not found errors at debug level in tail input (#6540)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawkode authored and danielnelson committed Oct 21, 2019
1 parent f22947e commit a1bcc0f
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 a1bcc0f

Please sign in to comment.