Sla*_*mir 5 python-3.x python-logging
我最近将我的脚本从 2.x 移植到 3.x。在通过自动化 (rundeck) 运行的生产过程中,我们看到由于记录器未处理阻塞 I/O 而导致的错误。任何如何解决的想法都会很棒。
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/__init__.py", line 998, in emit
self.flush()
File "/usr/lib/python3.6/logging/__init__.py", line 978, in flush
self.stream.flush()
BlockingIOError: [Errno 11] write could not complete without blocking
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4145 次 |
| 最近记录: |