Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert download_fileobj logline from info to debug. #345

Conversation

ArbitraryCritter
Copy link
Contributor

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.

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.
@terricain
Copy link
Owner

Sounds good and yeah that makes sense. Assuming the tests pass, should be good to merge!

@terricain terricain merged commit f61eb2e into terricain:main Aug 20, 2024
2 checks passed
@ArbitraryCritter ArbitraryCritter deleted the change-download-fileobj-logging-to-debug branch August 20, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants