Skip to content

Commit

Permalink
Merge pull request #28 from rapid7/put-the-index-logger-back-in
Browse files Browse the repository at this point in the history
Log the index being used with a better description (v2/s3)
  • Loading branch information
asebastian-r7 authored Oct 9, 2019
2 parents bc09ff0 + d0d212b commit e463bbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions watchers/v2/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ func listBucket(bucket, region string, svc s3iface.S3API, log *zap.Logger) ([]*s
return nil, err
}

log.Info("Using index to map index.yml/json dynamic values",
zap.Any("index", i),
)

var responses []*s3.ListObjectsOutput

for _, prefix := range i {
Expand Down

0 comments on commit e463bbb

Please sign in to comment.