Skip to content

Commit

Permalink
(chocolatey#933) Don't double-log.
Browse files Browse the repository at this point in the history
  • Loading branch information
corbob committed Aug 25, 2022
1 parent 424b8fb commit 6524dbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public async Task<PackageOperationResult> 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 =>
{
Expand Down

0 comments on commit 6524dbf

Please sign in to comment.