From a6da3412fe0b96c87227ea4bd4eb7c625954d9d9 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 13 Dec 2020 21:50:36 +0000 Subject: WinGui: Small improvement to logging. --- win/CS/HandBrakeWPF/Instance/RemoteInstance.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs b/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs index 86af2aec9..4d504507b 100644 --- a/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs +++ b/win/CS/HandBrakeWPF/Instance/RemoteInstance.cs @@ -167,8 +167,9 @@ namespace HandBrakeWPF.Instance workerProcess.PriorityClass = ProcessPriorityClass.BelowNormal; break; } - - this.logService.LogMessage(string.Format("Remote Process started with Process ID: {0} and port: {1}", this.workerProcess.Id, port)); + + int maxAllowed = userSettingService.GetUserSetting(UserSettingConstants.SimultaneousEncodes); + this.logService.LogMessage(string.Format("Remote Process started with Process ID: {0} using port: {1}. Max Allowed Instances: {2}", this.workerProcess.Id, port, maxAllowed)); } } catch (Exception e) -- cgit v1.2.3