Skip to content

Commit

Permalink
log which file has been last read
Browse files Browse the repository at this point in the history
  • Loading branch information
kalessin committed Mar 6, 2017
1 parent 41af540 commit 59a2731
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporters/readers/s3_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def __init__(self, *args, **kwargs):
self.logger.info('S3Reader has been initiated')

def open_stream(self, stream):
self.logger.info('Opening %s', stream.filename)
return urlopen(self.bucket.get_key(stream.filename).generate_url(S3_URL_EXPIRES_IN))

def get_read_streams(self):
Expand Down

0 comments on commit 59a2731

Please sign in to comment.