From c8284205e21b88149f1b39bd925bdc10d7e5a2f5 Mon Sep 17 00:00:00 2001 From: Darren <27513732@qq.com> Date: Fri, 20 Oct 2023 16:54:46 +0800 Subject: [PATCH] logfile --- docker/apphub/config/supervisord.conf | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docker/apphub/config/supervisord.conf b/docker/apphub/config/supervisord.conf index c534b6ec..aaab74ee 100644 --- a/docker/apphub/config/supervisord.conf +++ b/docker/apphub/config/supervisord.conf @@ -2,13 +2,18 @@ nodaemon=false [program:apphub] -command=uvicorn src.main:app --host 0.0.0.0 --port 8080 --log-level error +command=uvicorn src.main:app --host 0.0.0.0 --port 8080 autostart=false directory=/websoft9/apphub +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0 [program:apphubdev] command=/developer.sh autostart=false -redirect_stderr=true stdout_logfile=/dev/stdout -stdout_logfile_maxbytes=0 \ No newline at end of file +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0 \ No newline at end of file