Author adsherman09
Recipients adsherman09, asvetlov, yselivanov
Date 2020-12-02.20:45:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606941917.4.0.387310203547.issue42544@roundup.psfhosted.org>
In-reply-to
Content
IN WINDOWS asyncio's loop.run_in_executor(pool, callback, logger, *args) strips the subclass information about logging.Loggers when passed into concurrent.futures.ProcessPoolExecutor. The logger behaves as a default logging.Logger object as far as I can tell.

Run the attached file to see via print statements that the logger information (such as additional verbosity and file handling) is all removed from the logger but only inside the loop.run_in_executor call. 

This is a windows specific error. Tested on windows 10 (misbehaved) and ubuntu 18.04 (behaved as expected).
History
Date User Action Args
2020-12-02 20:45:17adsherman09setrecipients: + adsherman09, asvetlov, yselivanov
2020-12-02 20:45:17adsherman09setmessageid: <1606941917.4.0.387310203547.issue42544@roundup.psfhosted.org>
2020-12-02 20:45:17adsherman09linkissue42544 messages
2020-12-02 20:45:17adsherman09create