mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(logging): 🔥 rm AppInsights IKey logging
This commit is contained in:
parent
cd343a7a72
commit
d091708f21
1 changed files with 0 additions and 5 deletions
|
|
@ -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<Task>? run
|
|||
|
||||
try
|
||||
{
|
||||
// TODO: rm, for debugging
|
||||
var client = host.Services.GetService<TelemetryClient>();
|
||||
Log.Warning("Application Insights Instrumentation Key: {InstrumentationKey}", client.InstrumentationKey);
|
||||
|
||||
if (runPreHostAsync != null)
|
||||
{
|
||||
Log.Information("Initializing pre-host");
|
||||
|
|
|
|||
Loading…
Reference in a new issue