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
Allow logging.config.fileConfig
to accept kwargs
#75263
Comments
The function A simple patch seems to do it:
Unless there are any objections I plan to submit a pull request. In my use case I have a Pyramid service which |
This is the current state of my patch: master...Preston-Landers:bpo-31080-fileconfig It makes both |
Yes, seems reasonable, but don't change Misc/NEWS directly in your patch - this is now done using the "blurb" tool. Installed into a Python 3 environment using "pip install blurb". |
A colleague pointed out that I used single quotes in the defaults where the line uses double quotes for another argument. I'm not sure if this is considered a problem but I could submit an update if it is. |
No, that's OK - leave it as is, I'll consider it when next visiting the area. |
logging.config.fileConfig
to accept kwargs and/or args. #2979Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: