Skip to content

Logging

Brian Tkatch edited this page Nov 7, 2025 · 5 revisions

Logging Stack

We use Grafana to interpret logs, and AWS CloudWatch in production, or Loki/Promtail in development, to collect and aggregate the logs.

A significant amount of detail is logged automatically:

  • API requests and response codes (but not including the requesting user)
  • Startup/shutdown of the application
  • Error traces which are logged to the console

Grafana queries can be used to interpret the logs.

Logging Library

We use _____ to produce more detailed logs from our app.

This includes logs at the ___, ___ and ___ levels from our application code, documenting significant events which occur in the apps.

This library can also collect metrics: for example, counts of significant events, or average response times.

Frontend Logs

We provide an endpoint /logs/frontend which the front-end can use to persist significant events that occur in the front-end to the back-end logs, allowing for a holistic analysis of the user's journey through the application.

Clone this wiki locally