title: If I have multiple instance of the same python application running how to perform logging into file?
body: <p>I have a worker application written in python for a distributed system. There is a situation when I need to start multiple instances of this worker on a single server. Logging should be written into file I suspect that I cannot write to the same file from different instances. So what should I do, pass log-file name as command line argument to each instance? Is there a standard approach for such situation?</p>