From 6524dbff993065a0ee70127d9a6411d29bee4d98 Mon Sep 17 00:00:00 2001 From: Cory Knox Date: Thu, 25 Aug 2022 15:37:36 -0700 Subject: [PATCH] (#933) Don't double-log. --- .../ChocolateyGui.Common.Windows/Services/ChocolateyService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ChocolateyGui.Common.Windows/Services/ChocolateyService.cs b/Source/ChocolateyGui.Common.Windows/Services/ChocolateyService.cs index 39397d53c..9af4dc93d 100644 --- a/Source/ChocolateyGui.Common.Windows/Services/ChocolateyService.cs +++ b/Source/ChocolateyGui.Common.Windows/Services/ChocolateyService.cs @@ -172,7 +172,7 @@ public async Task InstallPackage( using (await Lock.WriteLockAsync()) { var logger = new SerilogLogger(Logger, _progressService); - var choco = Lets.GetChocolatey(initializeLogging: false).SetCustomLogging(logger, logExistingMessages: false, addToExistingLoggers: true); + var choco = Lets.GetChocolatey(initializeLogging: false).SetCustomLogging(logger, logExistingMessages: false, addToExistingLoggers: false); choco.Set( config => {