  
              if not self.verify_output and faces_count > 1:
                  self.verify_output = True
  
              self.process_faces(filename, faces)
  
              frame_no += 1
              if frame_no == self.save_interval:
                  self.alignments.save()
                  frame_no = 0
 
</s> remove             if self.args.verbose and faces_count == 0:
                print("Warning: No faces were detected in image: "
                      "{}".format(os.path.basename(filename)))
 </s> add             if faces_count == 0:
                logger.verbose("No faces were detected in image: %s",
                               os.path.basename(filename)) </s> remove                 if self.args.verbose:
                    print("Warning: found more than one face in "
                          "an image! {}".format(frame))
 </s> add                 logger.verbose("Found more than one face in "
                               "an image! '%s'", frame) </s> remove             queue_manager.get_queue("save").put("EOF")
        save_thread.join_threads()
 </s> add             save_queue.put("EOF")
        save_thread.join() </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")
            self.process_faces(filename, faces, save_queue)
  
              if not self.verify_output and faces_count > 1:
                  self.verify_output = True
  
            self.process_faces(filename, faces, save_queue)
  
              frame_no += 1
              if frame_no == self.save_interval:
                  self.alignments.save()
                  frame_no = 0
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 
scripts/extract.py