mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(logging): ♻ disable AI console logging
This commit is contained in:
parent
9d4b17148e
commit
8554b5746b
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue