From 22548347d4aadfe36382784ac249eb209cb62c9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 00:27:12 +0000 Subject: [PATCH 1/2] Initial plan From edf033f3afccf7d52218ce3121a6b7ce62b5d22f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 00:42:49 +0000 Subject: [PATCH 2/2] Change log level from Warning to Information for normal operations Co-authored-by: feordin <298148+feordin@users.noreply.github.com> --- .../Features/Storage/SqlServerFhirDataStore.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlServerFhirDataStore.cs b/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlServerFhirDataStore.cs index 9eff584cbb..de88a053eb 100644 --- a/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlServerFhirDataStore.cs +++ b/src/Microsoft.Health.Fhir.SqlServer/Features/Storage/SqlServerFhirDataStore.cs @@ -956,8 +956,8 @@ private string GetJsonValue(string json, string propName, bool isExisting) var startIndex = json.IndexOf($"\"{propName}\":\"", StringComparison.Ordinal); if (startIndex == -1) { - // I think this should be a warning because it happens every time a resource is deleted. Maybe even info. - _logger.LogWarning($"Cannot parse {propName} value from {(isExisting ? "existing" : "input")}"); + // This happens during normal operations (e.g., resource deletion) and is not an error condition. + _logger.LogInformation($"Cannot parse {propName} value from {(isExisting ? "existing" : "input")}"); return string.Empty; } @@ -965,7 +965,7 @@ private string GetJsonValue(string json, string propName, bool isExisting) var endIndex = json.IndexOf('"', startIndex); if (endIndex == -1) { - _logger.LogWarning($"Cannot parse {propName} value from {(isExisting ? "existing" : "input")}"); + _logger.LogInformation($"Cannot parse {propName} value from {(isExisting ? "existing" : "input")}"); return string.Empty; }