Skip to content

Commit de692e8

Browse files
Update Log Message
Co-authored-by: Lucas Pimentel <lucas.pimentel@datadoghq.com>
1 parent 65306ed commit de692e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracer/src/Datadog.Trace/Configuration/TracerSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ not null when string.Equals(value, "otlp", StringComparison.OrdinalIgnoreCase) =
387387
{
388388
SingleSpanAspNetCoreEnabled = false;
389389
Log.Warning(
390-
$"{ConfigurationKeys.FeatureFlags.SingleSpanAspNetCoreEnabled} is set, but is only supported in .NET 6+");
391-
_telemetry.Record(ConfigurationKeys.FeatureFlags.SingleSpanAspNetCoreEnabled, false, ConfigurationOrigins.Calculated);
390+
$"{ConfigurationKeys.FeatureFlags.SingleSpanAspNetCoreEnabled} is set to true, but is only supported in .NET 6+. Using false instead.");
391+
telemetry.Record(ConfigurationKeys.FeatureFlags.SingleSpanAspNetCoreEnabled, false, ConfigurationOrigins.Calculated);
392392
}
393393
#endif
394394

0 commit comments

Comments
 (0)