anchor.diff:    fLogPath := aPath;
     fFirstTick := TimeGet;
     fPreviousTick := TimeGet;
  -  ForceDirectories(ExtractFilePath((aPath)));
  +  InitLog;
  +end;
  +
  +
  +procedure TKMLog.InitLog;
  +begin
  +  ForceDirectories(ExtractFilePath((fLogPath)));
   
     AssignFile(fl, fLogPath);
     Rewrite(fl);
  
positive.code:     procedure AddLineNoTime(const aText: UnicodeString);
    public
      constructor Create(const aPath: UnicodeString);
      // AppendLog adds the line to Log along with time passed since previous line added
      procedure AddTime(const aText: UnicodeString); overload;
      procedure AddTime(const aText: UnicodeString; num: Integer); overload;
  
negative.code: //meaning that no lines will be lost if Remake crashes
  procedure TKMLog.AddLineTime(const aText: UnicodeString);
  begin
    if not FileExists(fLogPath) then
      InitLog;  // Recreate log file, if it was deleted
    AssignFile(fl, fLogPath);
    Append(fl);
    //Write a line when the day changed since last time (useful for dedicated server logs that could be over months)
  