multiprocessing-logging
multiprocessing-logging copied to clipboard
uninstall_mp_handler() doesn't handle >1 handlers
trafficstars
Need to use
for handler in list(logger.handlers):
instead of current
for handler in logger.handlers:
When I get some time, I will fork project and make a pull request.
Additionally, we should call self.manager.shutdown() in MultiProcessingHandler.close()
This was contributed and has no tests. I'll work on it eventually. Alternatively, if you want, you can submit a PR with tests and the fix.
This was fixed without tests. Will be released on the next version.