-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-110875: Handle '.' properties in logging formatter configuration c… #110943
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
Conversation
Not sure I'm the best reviewer here -- not very familiar with this code, and haven't used |
It's a fairly simple localised change 😄 |
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.
The same logic is in DictConfigurator.configure_handler
as well. Does that need a fix too?
I don't think so, because the Lines 838 to 839 in 20cfab9
|
Well, that's how it was in |
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.
PR looks good to me.
If the other site needs to be fixed, it can be done in a different PR. Or this one if you prefer :)
I think you're right. Better to make the logic consistent in both places, and it also improves the locality of behavior re. usage of |
Thanks @vsajip for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Thanks @vsajip for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @vsajip, I could not cleanly backport this to
|
…tion c… (pythonGH-110943) (cherry picked from commit a5f29c9) Co-authored-by: Vinay Sajip <[email protected]>
GH-111911 is a backport of this pull request to the 3.12 branch. |
…tion c… (pythonGH-110943) (cherry picked from commit a5f29c9)
…nfiguration c… (pythonGH-110943). (cherry picked from commit a5f29c9) Co-authored-by: Vinay Sajip <[email protected]>
GH-111914 is a backport of this pull request to the 3.11 branch. |
…ation c… (GH-110943) (GH-111911) Co-authored-by: Vinay Sajip <[email protected]>
…ation correctly. (GH-110943) (GH-111914) Co-authored-by: Vinay Sajip <[email protected]>
…orrectly.
format
property during logging.Formatter initilization removes the.
dictionary from theconfig
#110875