Skip to content

Commit

Permalink
Log: fix configuring
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Jul 14, 2021
1 parent ad57fee commit b184ad7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/services/ASC.Data.Storage.Migration/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b184ad7

Please sign in to comment.