Hi everyone,
We’ve just released NServiceBus 10.2.5.
Fixed bugs
- #7805 Preserve structured logging properties for log messages emitted through the NServiceBus ILog abstraction
How to know if you are affected
You are affected if all of the following apply:
- Your application emits log messages through the NServiceBus
ILogabstraction, for example by usingLogManager.GetLogger. - You use a downstream logging provider that supports structured logging, such as Serilog or NLog.
- You rely on structured properties from those log messages for querying, filtering, or enrichment.
You are not affected if your application logs directly through Microsoft.Extensions.Logging, for example by using ILogger<T>.
Symptoms
Log messages emitted through the NServiceBus ILog abstraction were forwarded to downstream logging providers as flat text. As a result, structured logging providers could not capture, query, or enrich the associated structured properties.
When to upgrade
You should upgrade immediately if you are affected. Otherwise, you should upgrade during your next maintenance window.
Where to get it
You can install NServiceBus 10.2.5 from NuGet.
Please read our release policy for more details.
With thanks,
The team in Particular