From ee738a29f03701ae4e5e8697c356cc5952b757e7 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 19 May 2023 15:24:20 +0900 Subject: [PATCH] Stop spamming logs with event aggregator logging --- BTCPayServer/EventAggregator.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/BTCPayServer/EventAggregator.cs b/BTCPayServer/EventAggregator.cs index 6816f42d1..344fe24b3 100644 --- a/BTCPayServer/EventAggregator.cs +++ b/BTCPayServer/EventAggregator.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; +using BTCPayServer.Events; using BTCPayServer.Logging; using Microsoft.Extensions.Logging; @@ -86,9 +87,6 @@ namespace BTCPayServer } } - var log = evt.ToString(); - if (!String.IsNullOrEmpty(log)) - Logs.Events.LogInformation(log); foreach (var sub in actionList) { try