Fix deletion of old log files sync
authorThomas
Wed, 07 Aug 2019 07:41:28 +0200
branchsync
changeset 2694227c4be4d54d
parent 2693 217106e22a6e
child 2695 273816414b64
Fix deletion of old log files
Log.cs
     1.1 --- a/Log.cs	Fri Aug 02 08:50:27 2019 +0200
     1.2 +++ b/Log.cs	Wed Aug 07 07:41:28 2019 +0200
     1.3 @@ -337,7 +337,7 @@
     1.4              // Delete older log files if necessary
     1.5              try
     1.6              {
     1.7 -                logFiles = Directory.GetFiles(logFilePath);
     1.8 +                logFiles = Directory.GetFiles(Globals.PEPUserFolder);
     1.9                  logFiles = Array.FindAll(logFiles, a => a.ToUpperInvariant().Contains(LOG_FILE_ARCHIVE_PREFIX.ToUpperInvariant()));
    1.10              }
    1.11              catch