gh-110875: Handle '.' properties in logging formatter configuration c…#110943
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 😄 |
encukou
left a comment
There was a problem hiding this comment.
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 |
encukou
left a comment
There was a problem hiding this comment.
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 <vinay_sajip@yahoo.co.uk>
|
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 <vinay_sajip@yahoo.co.uk>
|
GH-111914 is a backport of this pull request to the 3.11 branch. |
…orrectly.
formatproperty during logging.Formatter initilization removes the.dictionary from theconfig#110875