Closed mikebro closed 2 months ago
@mikebro 👋🏻
What version of Serilog
and Serilog.Sinks.PeriodicBatching
were you using before?
Hi @tobz, Serilog
v3.1.1 and Serilog.Sinks.PeriodicBatching
v3.1.0
Hi @mikebro ,
I'm having trouble reproducing this with Serilog v4.0.0, Serilog.Sinks.PeriodicBatching v5.0.0, and v0.5.2 of this plugin. Are you using v0.5.2 of this plugin? If so, is there any chance you could put together a small example project that demonstrates the issue?
Hi @jszwedko,
I believe the actual cause is DataDog/dd-trace-dotnet#5649 and not related to Serilog.Sinks.Datadog.Logs
so I'll close this issue.
While trying to reproduce I noticed that the logs were being sent to Datadog and could be seen in the live tail, they just weren't being indexed. We depend on the env
tag for indexing and it was missing when using Serilog v4. After some searching I realized we don't set this property, it seems to be added by Datadog.Trace
.
Ah, gotcha, thanks for following up!
Hello,
We updated our Serilog dependencies and the sink stopped sending logs to Datadog. It happened after updating these libraries:
We are running on .NET 8