If you want to do it manually it's probably good to set up a logging process that listens on a local socket, and all other process connect to that process. It can spawn a thread for each connection, assembles the logs in a queue and write it to a file.
In reply to Re: Writing to one file from multiple processes
by moritz
in thread Writing to one file from multiple processes
by KianTern
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |