summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Helpers
diff options
context:
space:
mode:
authorsr55 <[email protected]>2020-12-06 21:36:08 +0000
committersr55 <[email protected]>2020-12-06 21:36:08 +0000
commit436cc757f258a1abf34f9f1b362adb5b975496ca (patch)
tree9da7a0cd6fbec266f6be44dc5947bec40c7a46b1 /win/CS/HandBrakeWPF/Helpers
parentf52c796246f41f120bc82671fe3fb8e8f9cca5af (diff)
WinGui: Refactor the logging code to better handle multiple instance behaviours.
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers')
-rw-r--r--win/CS/HandBrakeWPF/Helpers/LogManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/LogManager.cs b/win/CS/HandBrakeWPF/Helpers/LogManager.cs
index d6100781e..4d2418084 100644
--- a/win/CS/HandBrakeWPF/Helpers/LogManager.cs
+++ b/win/CS/HandBrakeWPF/Helpers/LogManager.cs
@@ -31,7 +31,7 @@ namespace HandBrakeWPF.Helpers
string logDir = DirectoryUtilities.GetLogDirectory();
string filename = string.Format("activity_log_main.{0}.txt", GeneralUtilities.ProcessId);
string logFile = Path.Combine(logDir, filename);
- generalAppLogger.ConfigureLogging(logFile);
+ generalAppLogger.ConfigureLogging(filename, logFile);
IoC.Get<ILogInstanceManager>().Register(filename, generalAppLogger, true);