                                       Path(filename).suffix)
          face_file = Path(self.args.input_aligned_dir) / Path(face_name)
          skip_face = face_file not in self.faces_to_swap
          if skip_face:
              print("face {} for frame {} was deleted, skipping".format(
                  face_idx, os.path.basename(filename)))
          return skip_face
  
  
  class Legacy():
      """ Update legacy alignments:
 
</s> remove         if self.verbose:
            print("Renamed {} to {}".format(src, dst))
 </s> add         logger.verbose("Renamed '%s' to '%s'", src, dst) </s> remove                 blur_folder = output_item["output_file"].parts[:-1]
 </s> add                 blur_folder = detected_face["file_location"].parts[:-1] </s> remove                 print('Error: {} does not exist'.format(image_dir))
 </s> add                 logger.error("Error: '%s' does not exist", image_dir) </s> remove             print("Skipping {} previously extracted frames".format(processed))
 </s> add             logger.info("Skipping previously extracted frames: %s", processed) </s> remove         print("Moving {} faces(s) to {}".format(len(items_output),
                                                output_folder))
 </s> add         logger.info("Moving %s faces(s) to '%s'", len(items_output), output_folder)
            logger.info("face %s for frame '%s' was deleted, skipping",
                        face_idx, os.path.basename(filename))
                                       Path(filename).suffix)
          face_file = Path(self.args.input_aligned_dir) / Path(face_name)
          skip_face = face_file not in self.faces_to_swap
          if skip_face:
            logger.info("face %s for frame '%s' was deleted, skipping",
                        face_idx, os.path.basename(filename))
            logger.info("face %s for frame '%s' was deleted, skipping",
                        face_idx, os.path.basename(filename))
          return skip_face
  
  
  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 
scripts/convert.py