Skip to content

Commit ac28bf1

Browse files
committed
Reduce gunicorn log level from debug to info.
1 parent 489fd1d commit ac28bf1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

api/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ echo "initializing and migrating db"
1414
python3 ./init_db.py
1515

1616
echo "starting gunicorn"
17-
exec gunicorn ${GUNICORN_FLAGS} --access-logfile - --log-level debug --error-logfile - --worker-class sync --workers=${GUNICORN_WORKERS} -b :80 api:app
17+
exec gunicorn ${GUNICORN_FLAGS} --access-logfile - --log-level info --error-logfile - --worker-class sync --workers=${GUNICORN_WORKERS} -b :80 api:app

public/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,5 @@ fi
5959
# The gthread worker class should help with this, but it doesn't always seem to work for some reason.
6060
# However running the servers behind nginx (and using the sync class) resolves all problems
6161
# as nginx handles all the persistent connections.
62-
# --log-level=DEBUG
6362
echo "starting gunicorn"
64-
exec gunicorn $GUNICORN_FLAGS --access-logfile - --log-level debug --error-logfile - --worker-class sync --chdir src --workers=$GUNICORN_WORKERS -b :$GUNICORN_PORT public:app
63+
exec gunicorn $GUNICORN_FLAGS --access-logfile - --log-level info --error-logfile - --worker-class sync --chdir src --workers=$GUNICORN_WORKERS -b :$GUNICORN_PORT public:app

0 commit comments

Comments
 (0)