      def save_faces(self):
          """ Save the generated faces """
          if not self.export_face:
              logger.debug("Not exporting faces")
              logger.debug("Save Faces: Complete")
              return
  
 
</s> remove     def save_alignments(self, *args):
 </s> add     def save_alignments(self, *args):  # pylint: disable=unused-argument </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         save_queue = queue_manager.get_queue("save")
 </s> add 
        logger.debug("Save Faces: Start")
      def save_faces(self):
          """ Save the generated faces """
        logger.debug("Save Faces: Start")
          if not self.export_face:
              logger.debug("Not exporting faces")
              logger.debug("Save Faces: Complete")
              return
  
keep add 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/extract.py