◐ Shell
reader mode source ↗
Skip to content

gh-68443: Replace debug level-related logic in http client with logging#8633

Open
CuriousLearner wants to merge 2 commits into
python:mainfrom
CuriousLearner:fix-issue24255
Open

gh-68443: Replace debug level-related logic in http client with logging#8633
CuriousLearner wants to merge 2 commits into
python:mainfrom
CuriousLearner:fix-issue24255

Conversation

@CuriousLearner

@CuriousLearner CuriousLearner commented Aug 2, 2018

Copy link
Copy Markdown
Member

@CuriousLearner

CuriousLearner commented Aug 7, 2018

Copy link
Copy Markdown
Member Author

@vsajip Hello, I see that there are various linting errors in test_logging.py which were fixed in 5f63c20. Does it make sense to separate them out in another Pull Request?

@willingc willingc self-requested a review October 7, 2018 09:23
@CuriousLearner

Copy link
Copy Markdown
Member Author

Hey @bitdancer , @vsajip

Can you please have a look at this? I just noticed this PR wasn't reviewed from almost a year. Please let me know, what is needed here.

Thanks!

@willingc

willingc commented May 9, 2019

Copy link
Copy Markdown
Contributor

@CuriousLearner I would go ahead and rebase to resolve conflicts.

@CuriousLearner

Copy link
Copy Markdown
Member Author

@willingc Done!

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Dec 15, 2024
@picnixz picnixz changed the title bpo-24255: Replace debug level-related logic in http client with logging Dec 15, 2024
@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Feb 27, 2025
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 13, 2025
@python-cla-bot

python-cla-bot Bot commented Apr 18, 2025

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Apr 18, 2025
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Jun 15, 2025
@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Oct 12, 2025
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Nov 11, 2025
@CuriousLearner CuriousLearner removed the stale Stale PR or inactive for long period of time. label Nov 14, 2025
Replace debuglevel-based print statements with Python's standard
logging module for better integration with logging frameworks and
log aggregation tools like Sentry. Uses % formatting consistently
for better log pattern matching in aggregation tools.
@github-actions

github-actions Bot commented Jan 6, 2026

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Jan 6, 2026

@tpikonen tpikonen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

I ran into the problem (logging with print, which gives no timestamps etc.) this PR is fixing, and I hope it gets merged.

But, this patch has several style-related changes, which should be put into a separate commit. It also looks to me that there is some print usage left and some debug output which this patch removes, see my comments.

@github-actions github-actions Bot removed the stale label May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants