      def sort_hist(self):
          """ Sort by histogram of face similarity """
          input_dir = self.args.input_dir
  
          print("Sorting by histogram similarity...")
  
          img_list = [
              [img, cv2.calcHist([cv2.imread(img)], [0], None, [256], [0, 256])]
              for img in
              tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout)
 
</s> remove         print("Sorting by histogram dissimilarity...")
 </s> add         logger.info("Sorting by histogram dissimilarity...") </s> remove         print("Sorting by face similarity...")
 </s> add         logger.info("Sorting by face similarity...") </s> remove         print("Sorting by face-cnn similarity...")
 </s> add         logger.info("Sorting by face-cnn similarity...") </s> remove         print("Sorting by face dissimilarity...")
 </s> add         logger.info("Sorting by face dissimilarity...") </s> remove         print("Sorting by blur...")
 </s> add         logger.info("Sorting by blur...")
        logger.info("Sorting by histogram similarity...")
      def sort_hist(self):
          """ Sort by histogram of face similarity """
          input_dir = self.args.input_dir
  
        logger.info("Sorting by histogram similarity...")
  
          img_list = [
              [img, cv2.calcHist([cv2.imread(img)], [0], None, [256], [0, 256])]
              for img in
              tqdm(self.find_images(input_dir), desc="Loading", file=sys.stdout)
keep keep keep keep 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/sort.py