From e75c8b9a44c9c2ae76231ad11c6b3865386840c8 Mon Sep 17 00:00:00 2001 From: qiaoxinjiu Date: Wed, 15 Apr 2026 11:19:55 +0800 Subject: [PATCH] =?UTF-8?q?python=E5=90=AF=E5=8A=A8=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E5=8F=98=E5=8C=961?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gunicorn.conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 64da5e6..383195e 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -9,7 +9,7 @@ debug = False reload = False loglevel = 'debug' pidfile = "logs/gunicorn.pid" -accesslog = "logs/access.log" # 每个接口调用会展示在access.log中 -errorlog = "logs/debug.log" # 未处理的报错会在debug.log日志中展示 +accesslog = "-" # 输出到容器标准输出,便于 docker logs 查看 +errorlog = "-" # 输出到容器标准错误,便于 docker logs 查看 timeout = 300 # 每个接口的超时时间 daemon = False # 容器内以前台方式运行,避免主进程退出