diff --git a/src/ApplicationInsightsRequestLogging/Extensions/ServiceCollectionExtensions.cs b/src/ApplicationInsightsRequestLogging/Extensions/ServiceCollectionExtensions.cs index 9ffcff9..8283bdc 100644 --- a/src/ApplicationInsightsRequestLogging/Extensions/ServiceCollectionExtensions.cs +++ b/src/ApplicationInsightsRequestLogging/Extensions/ServiceCollectionExtensions.cs @@ -38,9 +38,9 @@ private static void AddBodyLogger(IServiceCollection services, Action(); - services.AddSingleton(); - services.AddSingleton(); + services.AddScoped(); + services.AddScoped(); + services.AddScoped(); services.AddSingleton(); } }