Fixed logging (python won't log to same file from multiple processes)