Skip to content

Commit 506bd2c

Browse files
committed
WD-30045 - Pretty print dev logs
1 parent 87a9bae commit 506bd2c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

entrypoint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN_COMMAND="gunicorn webapp.app:create_app() --bind $1 --worker-class gevent --
66

77
if [ "${FLASK_DEBUG}" = true ] || [ "${FLASK_DEBUG}" = 1 ]; then
88
RUN_COMMAND="${RUN_COMMAND} --reload --log-level debug --timeout 9999"
9+
RUN_COMMAND="${RUN_COMMAND} --logger-class canonicalwebteam.flask_base.log_utils.GunicornDevLogger"
910
fi
1011

1112
${RUN_COMMAND}

0 commit comments

Comments
 (0)