Skip to content

Opt-in to TraceId enrichment for ASP.NET Core 5.0 logs - support in Serilog.Sinks.MSSqlServer #488

@ccvik19

Description

@ccvik19

Please add TraceId support into the SQL Server sink.

This is related to the following issue:
serilog/serilog-aspnetcore#207

The TraceId was changed in .Net Core 5 and the TraceId is no longer included in the logs. Issue #207 was fixed, but each sink must implement the change. It looks like several sinks have been updated already, but Serilog.Sinks.MSSqlServer still doesn't have support. This is important to us, since we user the TraceId extensively.

List the names and versions of all Serilog packages used in the project:

  • Serilog:
  • Serilog.Sinks.MSSqlServer
  • Serilog.Enrichers.AspnetcoreHttpcontext
  • Serilog.Exceptions

Target framework and operating system:
[ ] .NET 6

Thanks you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions