-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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-95913: Add WhatsNew section for new logging APIs #98320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a blurb for my changes to the docstring and documentation for createSocket
, and have asked for your review on that PR #98319.
Thanks @CAM-Gerlach for the PR, and @ezio-melotti for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-98428 is a backport of this pull request to the 3.11 branch. |
* Add entry for new logging.getLevelNamesMapping function * Add entry for SysLogHandler.createSocket to whatsnew * Add missing line break between logging bullet list items (cherry picked from commit 251b8cc) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Add entry for new logging.getLevelNamesMapping function * Add entry for SysLogHandler.createSocket to whatsnew * Add missing line break between logging bullet list items (cherry picked from commit 251b8cc) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Part of #95913 and discussed in/related to #98307 .
This PR adds the following to a new Python 3.11 What's New section for the
logging
module:logging.getLevelNamesMapping
function mapping level names to their values, added in issue Provide method to get list of logging level names #88024 / PR bpo-43858: Add logging.getLevelNamesMapping() #26459logging.handlers.SysLogHandler.createSocket
method (with preliminary text), added in issue Unify logging.handlers.SysLogHandler behavior with SocketHandlers #88457 / PR bpo-44291: Fix reconnection in logging.handlers.SysLogHandler (GH-26490) #26490