summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Helpers
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers')
-rw-r--r--win/CS/HandBrakeWPF/Helpers/LogManager.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/LogManager.cs b/win/CS/HandBrakeWPF/Helpers/LogManager.cs
index f0c5bfd78..d6100781e 100644
--- a/win/CS/HandBrakeWPF/Helpers/LogManager.cs
+++ b/win/CS/HandBrakeWPF/Helpers/LogManager.cs
@@ -19,7 +19,7 @@ namespace HandBrakeWPF.Helpers
using HandBrakeWPF.Services.Logging.Interfaces;
using HandBrakeWPF.Utilities;
- using ILog = HandBrakeWPF.Services.Logging.Interfaces.ILog;
+ using ILog = Services.Logging.Interfaces.ILog;
public static class LogManager
{
@@ -29,13 +29,12 @@ namespace HandBrakeWPF.Helpers
{
generalAppLogger = IoC.Get<ILog>();
string logDir = DirectoryUtilities.GetLogDirectory();
- string filename = string.Format("activity_log.{0}.txt", GeneralUtilities.ProcessId);
+ string filename = string.Format("activity_log_main.{0}.txt", GeneralUtilities.ProcessId);
string logFile = Path.Combine(logDir, filename);
generalAppLogger.ConfigureLogging(logFile);
- IoC.Get<ILogInstanceManager>().RegisterLoggerInstance(filename, generalAppLogger, true);
+ IoC.Get<ILogInstanceManager>().Register(filename, generalAppLogger, true);
-
HandBrakeUtils.MessageLogged += HandBrakeUtils_MessageLogged;
HandBrakeUtils.ErrorLogged += HandBrakeUtils_ErrorLogged;
}