From b1426a17559aa6f222e23772462e75c0ec8fc27c Mon Sep 17 00:00:00 2001 From: Tobias Greinert Date: Tue, 27 Sep 2022 13:48:11 +0200 Subject: [PATCH] Fixed a race condition in ProcessHelper --- src/WinSW.Core/Util/ProcessHelper.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/WinSW.Core/Util/ProcessHelper.cs b/src/WinSW.Core/Util/ProcessHelper.cs index 9031ea0..995c143 100644 --- a/src/WinSW.Core/Util/ProcessHelper.cs +++ b/src/WinSW.Core/Util/ProcessHelper.cs @@ -249,7 +249,6 @@ namespace WinSW.Util // Redirect logs if required if (logHandler != null) { - Logger.Debug("Forwarding logs of the process " + processToStart + " to " + logHandler); logHandler.Log( ps.RedirectStandardOutput ? processToStart.StandardOutput : StreamReader.Null, ps.RedirectStandardError ? processToStart.StandardError : StreamReader.Null);