Skip to content

Commit 0e7ba32

Browse files
Stream sync server logs.
1 parent 282dc8c commit 0e7ba32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup_utils/start_sync_server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ wait_for_message
2222

2323
cd /app/backend/analytics_server
2424
if [ "$ENVIRONMENT" == "prod" ]; then
25-
/opt/venv/bin/gunicorn -w 2 -b 0.0.0.0:$SYNC_SERVER_PORT --timeout 0 sync_app:app
25+
/opt/venv/bin/gunicorn -w 2 -b 0.0.0.0:$SYNC_SERVER_PORT --timeout 0 --access-logfile '-' --error-logfile '-' sync_app:app
2626
else
27-
/opt/venv/bin/gunicorn -w 2 -b 0.0.0.0:$SYNC_SERVER_PORT --timeout 0 --reload sync_app:app
27+
/opt/venv/bin/gunicorn -w 2 -b 0.0.0.0:$SYNC_SERVER_PORT --timeout 0 --access-logfile '-' --error-logfile '-' --reload sync_app:app
2828
fi

0 commit comments

Comments
 (0)