This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steveha
Recipients steveha, vinay.sajip
Date 2018-05-14.20:58:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526331490.03.0.682650639539.issue33508@psf.upfronthosting.co.za>
In-reply-to
Content
Python logging is not multi-process safe.  When a Python program has multiple processes, one way to log safely would be to put the process ID number into the filename of the log file, giving each process its own log file.

It would be convenient if a %p format code would be expanded to the process ID number when the logging system opens the log file.
History
Date User Action Args
2018-05-14 20:58:10stevehasetrecipients: + steveha, vinay.sajip
2018-05-14 20:58:10stevehasetmessageid: <1526331490.03.0.682650639539.issue33508@psf.upfronthosting.co.za>
2018-05-14 20:58:10stevehalinkissue33508 messages
2018-05-14 20:58:09stevehacreate