Skip to content

Commit b1bc5a1

Browse files
Downgrade DSM flush shutdown log from Error to Warning (#7984)
## Summary of changes Addressing some [test flake](https://dev.azure.com/datadoghq/dd-trace-dotnet/_build/results?buildId=192892&view=logs&j=31acdf08-3064-571d-e44c-78b15fe9b1f9&t=582a4466-53a3-57ed-5676-bdeb8e6ba7e6). This can happen in an overloaded CI environment. ## Reason for change ## Implementation details ## Test coverage ## Other details <!-- Fixes #{issue} --> <!-- ⚠️ Note: Where possible, please obtain 2 approvals prior to merging. Unless CODEOWNERS specifies otherwise, for external teams it is typically best to have one review from a team member, and one review from apm-dotnet. Trivial changes do not require 2 reviews. MergeQueue is NOT enabled in this repository. If you have write access to the repo, the PR has 1-2 approvals (see above), and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #apm-dotnet channel in Slack. -->
1 parent 5ec78b0 commit b1bc5a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracer/src/Datadog.Trace/DataStreamsMonitoring/DataStreamsWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private async Task FlushAndCloseAsync()
184184

185185
if (completedTask != allTasks)
186186
{
187-
Log.Error("Could not flush all data streams stats before process exit");
187+
Log.Warning("Could not flush all data streams stats before process exit");
188188
}
189189

190190
await FlushAsync().ConfigureAwait(false);

0 commit comments

Comments
 (0)