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

gh-115233: Fix an example in the Logging Cookbook #115325

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().


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

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
@serhiy-storchaka serhiy-storchaka merged commit 9182201 into python:main Feb 12, 2024
40 checks passed
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 91822018eeba12a6c9eabbc748363b2fd4291b30 3.12

@miss-islington-app
Copy link

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 91822018eeba12a6c9eabbc748363b2fd4291b30 3.11

@serhiy-storchaka serhiy-storchaka deleted the logging-example-styled-adapter branch February 12, 2024 16:35
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Feb 12, 2024
…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]>
@bedevere-app
Copy link

bedevere-app bot commented Feb 12, 2024

GH-115355 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Feb 12, 2024
serhiy-storchaka added a commit that referenced this pull request Feb 12, 2024
…H-115355)

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 9182201)
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)
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]>
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
)

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
@serhiy-storchaka serhiy-storchaka removed the needs backport to 3.11 only security fixes label Sep 29, 2024
@serhiy-storchaka serhiy-storchaka removed their assignment Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants