diff --git a/services/SharedKernel/FilterLists.SharedKernel.Logging/ConfigurationExtensions.cs b/services/SharedKernel/FilterLists.SharedKernel.Logging/ConfigurationExtensions.cs index cfae9c7cd..828dc8c06 100644 --- a/services/SharedKernel/FilterLists.SharedKernel.Logging/ConfigurationExtensions.cs +++ b/services/SharedKernel/FilterLists.SharedKernel.Logging/ConfigurationExtensions.cs @@ -1,5 +1,6 @@ using FilterLists.SharedKernel.Logging.Options; using Microsoft.ApplicationInsights.Channel; +using Microsoft.ApplicationInsights.Extensibility.Implementation; using Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; @@ -25,6 +26,7 @@ public static void AddSharedKernelLogging(this IServiceCollection services, ICon .ServerTelemetryChannelStoragePath }; services.AddSingleton(typeof(ITelemetryChannel), serverTelemetryChannel); + TelemetryDebugWriter.IsTracingDisabled = true; services.AddApplicationInsightsTelemetry(); }