Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Limit thread-safe logging to python>=3.2
Thread safe logging is implemented using QueueHandler and QueueListener, which are only available in python versions >= 3.2. Therefore, only implement this for appropriate python versions. For lower versions (most notably, version 2.7), this will only affect the log files. Here, conflicts may arise due to racing conflicts, where multiple workers try to write to the log file at the same time. This may result in poorly or incorrectly formatted log entries.
- Loading branch information