          """ Inititalize the aligner
              Tasks to be run before any alignments are performed.
              Override for specific detector """
          self.init = kwargs["event"]
          self.queues["in"] = kwargs["in_queue"]
          self.queues["out"] = kwargs["out_queue"]
  
      def align(self, *args, **kwargs):
 
</s> remove         init = kwargs.get("event", False)
        self.init = init
 </s> add         logger_init = kwargs["log_init"]
        log_queue = kwargs["log_queue"]
        logger_init(self.loglevel, log_queue)
        logger.debug("initialize %s (PID: %s, args: %s, kwargs: %s)",
                     self.__class__.__name__, os.getpid(), args, kwargs)
        self.init = kwargs.get("event", False) </s> remove         print("Initializing Dlib Pose Predictor...")
 </s> add         logger.info("Initializing Dlib Pose Predictor...")
        logger.debug("dlib initialize: (args: %s kwargs: %s)", args, kwargs) </s> remove class BlurryFaceFilter(PostProcessAction):
 </s> add class BlurryFaceFilter(PostProcessAction):  # pylint: disable=too-few-public-methods </s> remove         return face_recognition_models.pose_predictor_model_location()
 </s> add         model_path = face_recognition_models.pose_predictor_model_location()
        logger.debug("Loading model: '%s'", model_path)
        return model_path </s> remove         print("Initializing MTCNN Detector...")
 </s> add 
        logger_init = kwargs["log_init"]
        log_queue = kwargs["log_queue"]
        logger_init(self.loglevel, log_queue)
        logger.debug("_base initialize %s: (PID: %s, args: %s, kwargs: %s)",
                     self.__class__.__name__, os.getpid(), args, kwargs)
          """ Inititalize the aligner
              Tasks to be run before any alignments are performed.
              Override for specific detector """
        logger_init = kwargs["log_init"]
        log_queue = kwargs["log_queue"]
        logger_init(self.loglevel, log_queue)
        logger.debug("_base initialize %s: (PID: %s, args: %s, kwargs: %s)",
                     self.__class__.__name__, os.getpid(), args, kwargs)
          self.init = kwargs["event"]
          self.queues["in"] = kwargs["in_queue"]
          self.queues["out"] = kwargs["out_queue"]
  
      def align(self, *args, **kwargs):
keep 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 
plugins/extract/align/_base.py