          else:
              faces_to_swap = [Path(path)
                               for path in get_image_paths(input_aligned_dir)]
              if not faces_to_swap:
                  print("Aligned directory is empty, "
                        "no faces will be converted!")
              elif len(faces_to_swap) <= len(self.input_images) / 3:
                  print("Aligned directory contains an amount of images much "
                        "less than the input, are you sure this is the right "
                        "directory?")
          return faces_to_swap
 
</s> remove                 print("Aligned directory contains an amount of images much "
                      "less than the input, are you sure this is the right "
                      "directory?")
 </s> add                 logger.warning("Aligned directory contains an amount of images much less than "
                               "the input, are you sure this is the right directory?") </s> remove             print("Aligned directory not found. All faces listed in the "
                  "alignments file will be converted")
 </s> add             logger.warning("Aligned directory not found. All faces listed in the "
                           "alignments file will be converted") </s> remove             print("Aligned directory not specified. All faces listed in the "
                  "alignments file will be converted")
 </s> add             logger.info("Aligned directory not specified. All faces listed in the "
                        "alignments file will be converted") </s> remove                 print("Warning: no reference video was supplied, even though "
                      "one may be used with the chosen action. If this is "
                      "intentional then ignore this warning.", file=sys.stderr)
 </s> add                 logger.warning("Warning: no reference video was supplied, even though "
                               "one may be used with the chosen action. If this is "
                               "intentional then ignore this warning.")
                logger.warning("Aligned directory is empty, no faces will be converted!")
          else:
              faces_to_swap = [Path(path)
                               for path in get_image_paths(input_aligned_dir)]
              if not faces_to_swap:
                logger.warning("Aligned directory is empty, no faces will be converted!")
                logger.warning("Aligned directory is empty, no faces will be converted!")
              elif len(faces_to_swap) <= len(self.input_images) / 3:
                  print("Aligned directory contains an amount of images much "
                        "less than the input, are you sure this is the right "
                        "directory?")
          return faces_to_swap
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