diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers/LogManager.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Helpers/LogManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/LogManager.cs b/win/CS/HandBrakeWPF/Helpers/LogManager.cs index f551af10e..2cd94a25d 100644 --- a/win/CS/HandBrakeWPF/Helpers/LogManager.cs +++ b/win/CS/HandBrakeWPF/Helpers/LogManager.cs @@ -29,7 +29,7 @@ namespace HandBrakeWPF.Helpers public static void Init() { ILog log = LogService.GetLogger(); - string logDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\HandBrake\\logs"; + string logDir = DirectoryUtilities.GetLogDirectory(); string logFile = Path.Combine(logDir, string.Format("activity_log{0}.txt", GeneralUtilities.ProcessId)); if (!Directory.Exists(Path.GetDirectoryName(logFile))) { |