Context
#16 implemented JSON formatting of log message uniformly, including from uvicorn, but uvicorn access logging isn't very structured. Structure request info tagged in log messages is very useful (if not critical) for monitoring.
#36 (review)
Implementation
For reference, see https://github.com/navapbc/template-application-flask/blob/main/template/%7B%7Bapp_name%7D%7D/src/logging/flask_logger.py
Context
#16 implemented JSON formatting of log message uniformly, including from uvicorn, but uvicorn access logging isn't very structured. Structure request info tagged in log messages is very useful (if not critical) for monitoring.
#36 (review)
Implementation
For reference, see https://github.com/navapbc/template-application-flask/blob/main/template/%7B%7Bapp_name%7D%7D/src/logging/flask_logger.py