From 61ac33add35ac6c15e78a471ae015fbaf56a2145 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 28 Jun 2022 01:05:23 +0200 Subject: [PATCH] reduce asgi log level --- app/asgi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/asgi.sh b/app/asgi.sh index c795f150..d6521798 100755 --- a/app/asgi.sh +++ b/app/asgi.sh @@ -8,7 +8,7 @@ media='/srv/media/' src='/srv/src/' workers=8 sock=/var/run/app/asgi.sock - +loglevel=error #Options: 'critical', 'error', 'warning', 'info', 'debug', 'trace'. if [ "$1" = "--runserver" ]; then python $manage runserver 0.0.0.0:8000 @@ -17,7 +17,7 @@ else # watchmedo shell-command --patterns="$patterns" --recursive \ # --command='python '$manage' collectstatic --noinput' $app & #daphne -b 0.0.0.0 -p 8000 asgi:application - uvicorn asgi:application --uds $sock --log-level info --workers $workers --ws websockets + uvicorn asgi:application --uds $sock --log-level $loglevel --workers $workers --ws websockets fi -- 2.39.5