Skip to content

Commit

Permalink
add logger-class to make serve
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Mar 28, 2024
1 parent 91fb940 commit 8fe66e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ django-collect-static:

.PHONY: serve
serve:
poetry run gunicorn --bind 0.0.0.0:8000 app.wsgi --reload
poetry run gunicorn --bind 0.0.0.0:8000 \
--logger-class ${GUNICORN_LOGGER_CLASS:-'util.logging.GunicornJsonCapableLogger'} \
--reload \
app.wsgi

.PHONY: generate-ld-client-types
generate-ld-client-types:
Expand Down

0 comments on commit 8fe66e5

Please sign in to comment.