When Serilog.Sinks.OpenTelemetry is used for ingestion, in its default configuration, IncludedData.MessageTemplateText is selected. This leads to Seq accepting the message template value, but if it contains format strings (f in {X:f}), ingestion fails with a NullReferenceException.
Removing IncludedData.MessageTemplateText from the default options is one possible workaround:
This is a candidate for a 2024.3 patch, but I'll raise it under 2025.1 until we have a feel for when the next patch might be assembled. In the meantime, please let us know if this affects you.
When Serilog.Sinks.OpenTelemetry is used for ingestion, in its default configuration,
IncludedData.MessageTemplateText
is selected. This leads to Seq accepting the message template value, but if it contains format strings (f
in{X:f}
), ingestion fails with aNullReferenceException
.Removing
IncludedData.MessageTemplateText
from the default options is one possible workaround:This is a candidate for a 2024.3 patch, but I'll raise it under 2025.1 until we have a feel for when the next patch might be assembled. In the meantime, please let us know if this affects you.