specklesystems / speckle-sharp

.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
https://speckle.systems
Apache License 2.0
363 stars 167 forks source link

feat(logging): adds correlation ID to http logs to assist debugging #3579

Closed iainsproat closed 1 month ago

iainsproat commented 1 month ago

Description & motivation

All requests sent to Speckle server include a correlation ID. This should be logged in the message to assist with debugging, as we can more easily match the connector logs with the corresponding server logs.

The correlation ID is already present in the serilog attributes, but these are not printed to the console. This change ensures the correlation ID is printed to the console.

Changes:

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

References