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

Support Formatter defaults parameter in logging.config.dictconfig and fileconfig #103357

Closed
bharel opened this issue Apr 8, 2023 · 0 comments
Closed
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@bharel
Copy link
Contributor

bharel commented Apr 8, 2023

Feature or enhancement

Currently the logging.Formatter defaults parameter is unsupported in logging.config methodologies. Simply support it.

Pitch

There's no reason for inconsistency between the rest of the variables which are supported, and this that isn't.
The implementation is fast and simple, and was requested on the original issue.

Previous discussion

#20668 (comment)
#85061 (comment)

I will create a PR right after this issue with the addition.

Linked PRs

@bharel bharel added the type-feature A feature request or enhancement label Apr 8, 2023
@arhadthedev arhadthedev added the stdlib Python modules in the Lib dir label Apr 8, 2023
vsajip pushed a commit that referenced this issue Apr 12, 2023
@vsajip vsajip closed this as completed Apr 13, 2023
aisk pushed a commit to aisk/cpython that referenced this issue Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants