in reply to Writing to one file from multiple processes
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.
|
|---|