          if input_aligned_dir is None:
              print("Aligned directory not specified. All faces listed in the "
                    "alignments file will be converted")
          elif not os.path.isdir(input_aligned_dir):
              print("Aligned directory not found. All faces listed in the "
                    "alignments file will be converted")
          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, "
 
</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("Aligned directory is empty, "
                      "no faces will be converted!")
 </s> add                 logger.warning("Aligned directory is empty, no faces will be converted!") </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("WARNING: There are rotated frames in the alignments "
                  "file.\n\t Position of faces will not be correctly "
                  "calculated for these frames.\n\t You should run rotation "
                  "tool to update the file prior to running sort:\n\t "
                  "'python tools.py alignments -j rotate -a "
                  "<alignments_file> -fr <frames_folder>'")
 </s> add             logger.error("There are rotated frames in the alignments "
                         "file. Position of faces will not be correctly "
                         "calculated for these frames. You should run rotation "
                         "tool to update the file prior to running sort: "
                         "'python tools.py alignments -j rotate -a "
                         "<alignments_file> -fr <frames_folder>'") </s> remove             print("WARNING: missing_frames was selected with move output, but "
                  "there will be nothing to move. "
                  "Defaulting to output: console")
 </s> add             logger.warning("Missing_frames was selected with move output, but there will "
                           "be nothing to move. Defaulting to output: console")
            logger.warning("Aligned directory not found. All faces listed in the "
                           "alignments file will be converted")
          if input_aligned_dir is None:
              print("Aligned directory not specified. All faces listed in the "
                    "alignments file will be converted")
          elif not os.path.isdir(input_aligned_dir):
            logger.warning("Aligned directory not found. All faces listed in the "
                           "alignments file will be converted")
            logger.warning("Aligned directory not found. All faces listed in the "
                           "alignments file will be converted")
          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, "
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