#3401·gunicorn

使用 HUP 重新加载 Gunicorn 会停止主日志记录

作者: AndyDira创建于 2025年6月6日更新于 2025年6月19日

运行 Gunicorn 23.0。启动行如下

gunicorn my_app:app -c gunicorn.conf.py -p $PIDFILE --error-logfile $LOGDIR/$(date +%Y%m%d-%s).log

在发送 -HUP 信号后的日志文件中。

内容来源: benoitc/gunicorn