-
使用supervisor管理python进程时日志不能正常输出
使用python -u test.py 可解决python -h ... -u : force the stdout and stderr streams to be unbuffered; this option has no effect on stdin; also PYTHONUNBUFFERED=x ...
supervisor 常用问题记录
最新推荐文章于 2023-10-11 10:38:45 发布
使用supervisor管理python进程时日志不能正常输出
使用python -u test.py 可解决
python -h
...
-u : force the stdout and stderr streams to be unbuffered;
this option has no effect on stdin; also PYTHONUNBUFFERED=x
...