      def run_extraction(self, save_thread):
          """ Run Face Detection """
          to_process = self.process_item_count()
          frame_no = 0
          size = self.args.size if hasattr(self.args, "size") else 256
          align_eyes = self.args.align_eyes if hasattr(self.args, "align_eyes") else False
 
</s> remove             # pylint: disable=no-member
            cv2.imwrite(out_filename, resized_face)
 </s> add             logger.trace("Saving face: '%s'", out_filename)
            try:
                cv2.imwrite(out_filename, resized_face)  # pylint: disable=no-member
            except Exception as err:  # pylint: disable=broad-except
                logger.error("Failed to save image '%s'. Original Error: %s", out_filename, err)
                continue
        logger.debug("Save Faces: Complete") </s> remove 
 </s> add         logger.debug("Loading Detector: '%s'", detector_name) </s> remove             verbose=self.args.verbose,
 </s> add             loglevel=self.args.loglevel,
        save_queue = queue_manager.get_queue("save")
      def run_extraction(self, save_thread):
          """ Run Face Detection """
        save_queue = queue_manager.get_queue("save")
          to_process = self.process_item_count()
          frame_no = 0
          size = self.args.size if hasattr(self.args, "size") else 256
          align_eyes = self.args.align_eyes if hasattr(self.args, "align_eyes") else False
keep add 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/extract.py