Skip to content

Better structured request logging #44

@doshitan

Description

@doshitan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions