Skip to content

Commit

Permalink
Add note that common log context is focus
Browse files Browse the repository at this point in the history
  • Loading branch information
ncjones committed Oct 13, 2024
1 parent c4d9984 commit 693f781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/shared-logging-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ There are three aspects to making effective logs. Log analysis becomes much easi

1. **Structured Logs** — Emitting log events from our application as structured data allows us to query and visualize our logs with logging aggregators like Grafana, Datadog, Newrelic, or Cloudwatch.
2. **Event Type Discriminators** — Ensuring every logged event has a unique event type discriminator enables greater insights from our logging data. It allows us to treat any log event as a custom application metric.
3. **Common Log Context** — Log messages include additional structured attributes to provide context for the surrounding transaction execution context.
3. **Common Log Context** — Log messages include additional structured attributes to provide context for the surrounding transaction execution context. How to achieve this is the main focus of this article.

### Bad Logging Example

Expand Down

0 comments on commit 693f781

Please sign in to comment.