Closed mwootton closed 2 years ago
…g files
Only the top level process is allowed to initialize a file. Filename can be set and append mode can be set, but only before logging starts.
In python 3.6: multiprocessing.current_process() is a Process for children and is a _MainProcess for the parent. Implementation detail, but is just has to hold up until version 3.8 where we can do a proper check.
…g files
Only the top level process is allowed to initialize a file. Filename can be set and append mode can be set, but only before logging starts.