multiprocessing-logging
multiprocessing-logging copied to clipboard
Handler for logging from multiple processes
Please don't merge without careful review. - Removed old Python 2 stuff because I don't need it and it is very old by now. - Fixed the error - Added...
When using `multiprocessing-logging` in tandem with some code that has a `Pool`, I'm seeing a new error when upgrading from Python 3.9.12 to 3.9.13. The error messages are like: ```python...
After having issues in a fairly complex program, I was able to cut it down to just this code: ``` #!/usr/bin/env python3 from multiprocessing import Pool import logging import sys...
I am currently using `multiprocessing.Pool` to read and prepare data for a machine learning task. I tried to install the logging hook right after my program starts. I first create...
Switched to 21.04 LTS with python 3.10.4 Get this: May 22 07:04:05 tychocam authbind[7536]: --- Logging error --- May 22 07:04:05 tychocam authbind[7536]: Traceback (most recent call last): May 22...
I have recently switched to Python 3.9, and code that previously worked with `multiprocessing_logging` suddenly started hanging. Given the code ```Python with Pool(num_processes=8) as pool: for res in pool.imap_unordered(fn, inputs):...
It seems like it would make sense for the _receive() thread to call sub_handler.handle(record) instead of emit(), so that filters on the sub_handler are applied?
cannot pass the test on macOSX 11.2.2 reporting: AttributeError: Can't pickle local object 'WhenMultipleProcessesLogRecords.test_then_records_should_not_be_garbled..worker'
i create one logger with different handlers using the MultiProcessingHandler function and pass it to the different processes i create. my processes have a long workflow and i call many...
Hi, I try to use this module according to the readme, but the logs seem to be messed like when I don't use this module. What I am doing wrong?...