diff options
author | sr55 <[email protected]> | 2020-12-13 21:50:36 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2020-12-13 21:50:36 +0000 |
commit | a6da3412fe0b96c87227ea4bd4eb7c625954d9d9 (patch) | |
tree | a10d909364f85ecdfa60d2e20bbfe31a45b77eb3 /win | |
parent | 8a277860dbf47a62f5e690ccf17e7a47a5b556c2 (diff) |
WinGui: Small improvement to logging.
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Instance/RemoteInstance.cs | 5 |
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) |