explorer
explorer copied to clipboard
Improve logging
The following changes to the logging would have a positive impact downstream in our observability tools, making Explorer logs more easily searchable:
- Format logs in JSON - This would help our internal infra categorize and sort any keys found in the JSON log.
- Implement a logging standard and structure. Using common keys like
msg
to provide the primary message of a log, andlevel
to provide the logging level, etc would also help the downstream infrastructure.- Ideally, the scopes would be compatible with what Grafana Loki recognizes here: https://grafana.com/docs/grafana/latest/explore/logs-integration/#log-level