summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2020-12-13 21:50:36 +0000
committersr55 <[email protected]>2020-12-13 21:50:36 +0000
commita6da3412fe0b96c87227ea4bd4eb7c625954d9d9 (patch)
treea10d909364f85ecdfa60d2e20bbfe31a45b77eb3 /win
parent8a277860dbf47a62f5e690ccf17e7a47a5b556c2 (diff)
WinGui: Small improvement to logging.
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/Instance/RemoteInstance.cs5
1 files 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<int>(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)