Skip to content

Commit

Permalink
Convert download_fileobj logline from info to debug.
Browse files Browse the repository at this point in the history
For the download_fileobj operation, which has been overridden in inject, a succesful transfer generates a logline that looks something like this:
2024-07-28 15:52:43,308 INFO inject "Downloaded file from xxxxxxx/TYPO3_INSTALLATION/eudsamf.ibog.xxxxxx.xx_1722174744-ZQHDBEGI.db.gz"

Atleast for my project, this logline will mostly cause confusion.
This change converts this to debug, which is consistent with other logging in inject.py.
  • Loading branch information
ArbitraryCritter committed Jul 28, 2024
1 parent 165407a commit c914ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioboto3/s3/inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ async def queue_reader():
if queue_reader_future:
await queue_reader_future

logger.info(f'Downloaded file from {Bucket}/{Key}')
logger.debug(f'Downloaded file from {Bucket}/{Key}')

except ClientError as e:
raise Exception(
Expand Down

0 comments on commit c914ccc

Please sign in to comment.