While debugging image caching in mikula I encountered a problem of adding logs to the part of the code that was executed as a multiprocessing pool task. The standard logging package in Python can handle multithreaded applications but requires special handlers to log across multiple processes or applications. Popular mechanisms for passing log messages between processes use Sockets, HTTP or multiprocessing queues. Examples of using these techniques can be found in the Logging Cookbook.