New submission from Steve R. Hastings <stev...@users.sourceforge.net>:

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.

----------
components: Library (Lib)
messages: 316576
nosy: steveha, vinay.sajip
priority: normal
severity: normal
status: open
title: [logging] allow %p code to put PID into log filename
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33508>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to