-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Closed
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Allow using instances in the dict passed to dictConfig
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 a QueueHandler that implements custom logic.
Since the logging.Handlers and logging.Filters need to be attached to the QueueListener 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
stdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
