Log file not found errors at debug level in tail input (#6540)

This commit is contained in:
David McKay 2019-10-21 20:10:56 +01:00 committed by Daniel Nelson
parent f22947ee42
commit a1bcc0f87b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}