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

[3.12] gh-115233: Fix an example in the Logging Cookbook (GH-115325) #115355

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Feb 12, 2024

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 9182201)


📚 Documentation preview 📚: https://cpython-previews--115355.org.readthedocs.build/

…nGH-115325)

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 9182201)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) February 12, 2024 17:44
@serhiy-storchaka serhiy-storchaka added the needs backport to 3.11 only security fixes label Feb 12, 2024
@serhiy-storchaka serhiy-storchaka merged commit 225856e into python:3.12 Feb 12, 2024
29 checks passed
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 12, 2024
…nGH-115325) (pythonGH-115355)

Also add more tests for LoggerAdapter.

(cherry picked from commit 225856e)

Co-authored-by: Serhiy Storchaka <[email protected]>
Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 9182201)
@bedevere-app
Copy link

bedevere-app bot commented Feb 12, 2024

GH-115357 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Feb 12, 2024
serhiy-storchaka pushed a commit that referenced this pull request Feb 12, 2024
…H-115355) (GH-115357)

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 225856e)
(cherry picked from commit 9182201)
Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka deleted the backport-9182201-3.12 branch February 19, 2024 18:22
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.

1 participant