Don't overwrite logs (fixes issue #482)

This commit is contained in:
Timothy Baldridge 2020-02-11 14:25:20 -07:00
parent e80cbf4535
commit 2b2836855d

View File

@ -54,7 +54,7 @@ namespace Wabbajack.Common
Directory.CreateDirectory(Consts.LocalAppDataPath);
var programName = Assembly.GetEntryAssembly()?.Location ?? "Wabbajack";
LogFile = programName + ".log";
LogFile = Path.GetFileNameWithoutExtension(programName) + DateTime.Now.ToString(" yyyy-MM-dd HH_mm_ss") + ".log";
_startTime = DateTime.Now;
if (LogFile.FileExists())