Skip to content

feat(web): allow outputting logs as JSON

Jamie Tanna requested to merge feature/dmd-web-json into main
  • feat(web): allow outputting logs as JSON As part of #375 (closed), we want to be able to produce JSON formatted logs for consumption by other tooling. This uses a straightforward opt-in flag, LOG_FORMAT to control the behaviour, and outputs using slog's JSON formatting. Note that this does not handle the Datasette logs, which will be migrated as part of #468. Closes #375 (closed).

  • docs(web): document LOG_FORMAT As part of #375 (closed).

Merge request reports