Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
kwargs are no longer passed to logging QueueHandler in 3.12
importloggingimportlogging.configimportlogging.handlersimportqueueclassTestQueueHandler(logging.handlers.QueueHandler):def__init__(self,*args,**kwargs):super().__init__(queue.Queue())print('test'inkwargs)# True in 3.11# False in 3.12defmain():config= {'version':1,'handlers': {'default': {'class':TestQueueHandler,'test':'123' }, },'loggers': {'a': {'handlers': ['default'], }, } }logging.config.dictConfig(config)if__name__=='__main__':main()
CPython versions tested on:
3.11, 3.12
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Done