diff --git a/services/SharedKernel/FilterLists.SharedKernel.Logging/HostRunner.cs b/services/SharedKernel/FilterLists.SharedKernel.Logging/HostRunner.cs index 7d467b99e..d5f30cecf 100644 --- a/services/SharedKernel/FilterLists.SharedKernel.Logging/HostRunner.cs +++ b/services/SharedKernel/FilterLists.SharedKernel.Logging/HostRunner.cs @@ -1,6 +1,5 @@ using System; using System.Threading.Tasks; -using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; @@ -24,10 +23,6 @@ public static async Task TryRunWithLoggingAsync(this IHost host, Func? run try { - // TODO: rm, for debugging - var client = host.Services.GetService(); - Log.Warning("Application Insights Instrumentation Key: {InstrumentationKey}", client.InstrumentationKey); - if (runPreHostAsync != null) { Log.Information("Initializing pre-host");