Logging from a multiprocess application

Joseph L. Casale jcasale at activenetwerx.com
Thu Feb 6 19:24:17 CET 2014

I have a module that has one operation that benefits greatly from being multiprocessed.
Its a console based module and as such I have a stream handler and filter associated to
the console, obviously the mp based instances need special handling, so I have been
experimenting with a socket server in a thread in order for the remaining application to
carry on.

How have others tackled this problem? The portion of the code made to use multiprocessing
can not be switched to threading as it performs worse than simply serializing each task.


More information about the Python-list mailing list