Commit d8db675
committed
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.1 parent 93c5d6e commit d8db675
1 file changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
360 | 366 | | |
361 | 367 | | |
362 | | - | |
| 368 | + | |
| 369 | + | |
363 | 370 | | |
364 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
365 | 375 | | |
366 | 376 | | |
367 | 377 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 378 | | |
372 | 379 | | |
373 | 380 | | |
| |||
0 commit comments