explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Improve logging

Open CharlieC3 opened this issue 1 year ago • 0 comments

The following changes to the logging would have a positive impact downstream in our observability tools, making Explorer logs more easily searchable:

  1. Format logs in JSON - This would help our internal infra categorize and sort any keys found in the JSON log.
  2. Implement a logging standard and structure. Using common keys like msg to provide the primary message of a log, and level to provide the logging level, etc would also help the downstream infrastructure.
    1. Ideally, the scopes would be compatible with what Grafana Loki recognizes here: https://grafana.com/docs/grafana/latest/explore/logs-integration/#log-level

CharlieC3 avatar Dec 20 '23 22:12 CharlieC3