                                      face["face_extension"])
          src = os.path.join(self.items.folder, old_file)
          dst = os.path.join(self.items.folder, new_file)
          os.rename(src, dst)
          if self.verbose:
              print("Renamed {} to {}".format(src, dst))
          return 1
  
  
  class Legacy():
      """ Update legacy alignments:
 
</s> remove                 if self.verbose and action == "final":
                    print("Renamed {} to {}".format(old, new))
 </s> add                 if action == "final":
                    logger.verbose("Renamed '%s' to '%s'", old, new) </s> remove             print("face {} for frame {} was deleted, skipping".format(
                face_idx, os.path.basename(filename)))
 </s> add             logger.info("face %s for frame '%s' was deleted, skipping",
                        face_idx, os.path.basename(filename)) </s> remove         print("Moving {} frame(s) to {}".format(len(items_output),
                                                output_folder))
 </s> add         logger.info("Moving %s frame(s) to '%s'", len(items_output), output_folder) </s> remove         print("Backing up original alignments to {}".format(dst))
 </s> add         logger.info("Backing up original alignments to '%s'", dst)
        logger.verbose("Renamed '%s' to '%s'", src, dst)
                                      face["face_extension"])
          src = os.path.join(self.items.folder, old_file)
          dst = os.path.join(self.items.folder, new_file)
          os.rename(src, dst)
        logger.verbose("Renamed '%s' to '%s'", src, dst)
        logger.verbose("Renamed '%s' to '%s'", src, dst)
          return 1
  
  
  class Legacy():
      """ Update legacy alignments:
keep keep keep keep replace replace keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
tools/lib_alignments/jobs.py