There is an issue in multiprocessing library. Lib/multiprocessing/managers.py:413: util.debug('disposing of obj with id %d', ident) It is '%d' here, but 'ident' is a string. This always cause an TypeError from logging module once enable logging on multiprocessing. Patch is attached to fix the issue.