sed -i s/StreamHandler()/StreamHandler(sys.__stdout__)/ /opt/python/python3/lib/python3.6/site-packages/tornado/log.py 将手动打印的后台信息输出到stdout,重定向到文件 设置时区: timedatectl set-timezone Asia/Shanghai 启动项目: nohup python3
sed -i 's/StreamHandler()/StreamHandler(sys.__stdout__)/' /opt/python/python3/lib/python3.6/site-packages/tornado/log.py |
2019-06-18
2019-07-04
2021-05-23
2021-05-27
2021-05-27