Skip to content

Conversation

@StasPerekrestov
Copy link
Contributor

Adds a "native" tracing information propagation support by Serilog

For more information, please

  1. Collect and propagate current trace and span ids through LogEvent serilog/serilog#1955
  2. Opt-in to TraceId and SpanId enrichment for ASP.NET Core 5.0 logs serilog/serilog-aspnetcore#207
  3. Release notes to Serilog v3.1.0

Serilog starting from v3.1.0 adds two new first-class properties to LogEvent: TraceId and SpanId. These are set automatically in Logger.Write() to the corresponding property values from System.Diagnostics.Activity.Current.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant