From b184ad789893278ab0ce1f58af128f3526f5b7ff Mon Sep 17 00:00:00 2001 From: pavelbannov Date: Wed, 14 Jul 2021 11:00:59 +0300 Subject: [PATCH] Log: fix configuring --- common/services/ASC.Data.Storage.Migration/Program.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/services/ASC.Data.Storage.Migration/Program.cs b/common/services/ASC.Data.Storage.Migration/Program.cs index 623470a7b23..0745ee9b7fe 100644 --- a/common/services/ASC.Data.Storage.Migration/Program.cs +++ b/common/services/ASC.Data.Storage.Migration/Program.cs @@ -6,7 +6,6 @@ using ASC.Common; using ASC.Common.Caching; using ASC.Common.DependencyInjection; -using ASC.Common.Logging; using ASC.Common.Utils; using Autofac; @@ -64,7 +63,6 @@ public static IHostBuilder CreateHostBuilder(string[] args) => { services.AddMemoryCache(); var diHelper = new DIHelper(services); - LogNLogExtension.ConfigureLog(diHelper, "ASC.Data.Storage.Migration", "ASC.Migration"); diHelper.TryAdd(typeof(ICacheNotify<>), typeof(KafkaCache<>)); diHelper.RegisterProducts(hostContext.Configuration, hostContext.HostingEnvironment.ContentRootPath);