uqfoundation / pathos

parallel graph management and execution in heterogeneous computing
http://pathos.rtfd.io
Other
1.38k stars 89 forks source link

multiprocessing logging? #164

Closed forkozi closed 4 years ago

forkozi commented 5 years ago

First, very awesome package. I'm new to programming, but have been able to implement pathos for a basic multiprocess use-case to speed things up tremendously. Second, I'm wondering if there's a built-in way to log messages from various processes to a single file. I see there's a logger() function that returns a "configured logger instance," but newbie me isn't sure what to do with that. Are there examples out there that demonstrate how to use it? Thanks so much!

aleksejs-fomins commented 5 years ago

Here's how far I got https://stackoverflow.com/questions/57978518/how-to-do-logging-using-multiprocessing-in-pathos-correctly

mmckerns commented 4 years ago

The answer to the above SO question is reasonable: https://stackoverflow.com/a/58142150/2379433. Closing. Reopen if the given answer is insufficient for your needs.