From c314728e655bdd082f1ea47bc45755ae85605ec5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2026 21:55:15 +0000 Subject: [PATCH 1/2] chore(deps): update dependency sentry.serilog to v7 --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 660d1d57ab..6677373958 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -22,7 +22,7 @@ - + From b6da2aa062c7f62c8832fefd157adfedfc8357da Mon Sep 17 00:00:00 2001 From: Antoine Aflalo <197810+Belphemur@users.noreply.github.com> Date: Wed, 18 Nov 2026 22:54:56 -0500 Subject: [PATCH 2/2] fix(logging): adapt Sentry sink to Sentry.Serilog v7 The sink no longer auto-initializes the SDK and the InitializeSdk option was removed; the explicit SentrySdk.Init in Program.cs remains the single initialization point. MinimumBreadcrumbLevel/MinimumEventLevel/TextFormatter settings are unchanged. --- .../Framework/Logger/Configuration/LoggerConfigurator.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs b/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs index 6d7f3af3c2..c36c244ca4 100644 --- a/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs +++ b/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs @@ -34,7 +34,8 @@ public static void ConfigureLogger() outputTemplate: outputTemplate) .WriteTo.Sentry(o => { - o.InitializeSdk = false; + // Sentry.Serilog v7: the sink no longer auto-initializes the SDK (InitializeSdk removed), + // so the explicit SentrySdk.Init in Program.cs stays the single initialization point. o.MinimumBreadcrumbLevel = LogEventLevel.Debug; o.MinimumEventLevel = LogEventLevel.Error; o.TextFormatter = new MessageTemplateTextFormatter(sentryTemplate);