Skip to content

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

@bharel

Description

@bharel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions