mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #507 from wabbajack-tools/issue-482
Don't overwrite logs (fixes issue #482)
This commit is contained in:
commit
cc188af901
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user