Skip to content

Commit

Permalink
AWS S3: Add skipped object debug(v2) log
Browse files Browse the repository at this point in the history
  • Loading branch information
wanmail committed Jan 13, 2025
1 parent 23195b7 commit 6c44a37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/tailer/logstream/awss3.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func (fs *s3Stream) stream(ctx context.Context, wg *sync.WaitGroup, waker waker.

// Skip files that are older than the time or do not match the pattern.
if obj.LastModified.Before(fs.lastModified) || !fs.re.MatchString(*obj.Key) {
glog.V(2).Infof("stream(%s): skipping file (%s) (%v)", fs.sourcename, *obj.Key, obj.LastModified)
continue
}

Expand Down

0 comments on commit 6c44a37

Please sign in to comment.