Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow using QueueHandler and QueueListener in logging.dictConfig #93162

Closed
Assignees
vsajip
Labels
stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
@spacemanspiff2007

Description

@spacemanspiff2007

Feature or enhancement

Allow using instances in the dict passed todictConfig

Pitch

Currently the logging configuration does not allow passing already created instances of e.g.logging.Handler.
However this would be very useful for an application that uses the dict to configure the logger but wants to use aQueueHandler that implements custom logic.
Since thelogging.Handlers andlogging.Filters need to be attached to theQueueListener for logging to files it's almost impossible to set it up properly.
If it would be possible to pass an instance the setup could be simplified a lot.

Previous discussion

Metadata

Metadata

Assignees

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


    [8]ページ先頭

    ©2009-2025 Movatter.jp