              postprocess_items["FaceFilter"] = {"kwargs": face_filter}
  
          return postprocess_items
  
      def set_actions(self):
          """ Compile the actions to be performed into a list """
          postprocess_items = self.get_items()
          actions = list()
          for action, options in postprocess_items.items():
              options = dict() if options is None else options
              args = options.get("args", tuple())
              kwargs = options.get("kwargs", dict())
              args = args if isinstance(args, tuple) else tuple()
              kwargs = kwargs if isinstance(kwargs, dict) else dict()
              kwargs["verbose"] = self.verbose
              task = globals()[action](*args, **kwargs)
              actions.append(task)
  
          for action in actions:
              action_name = camel_case_split(action.__class__.__name__)
              print("Adding post processing item: "
                    "{}".format(" ".join(action_name)))
  
          return actions
  
      def do_actions(self, output_item):
          """ Perform the requested post-processing actions """
          for action in self.actions:
              action.process(output_item)
  
 
</s> remove         self.verbose = self.args.verbose
 </s> add  </s> remove         self.pool = None
 </s> add         ctx = mp.get_context("spawn")
        self.pool = ctx.Pool(processes=self.procs)

        self._method = method
        self._kwargs = self.build_target_kwargs(in_queue, out_queue, kwargs)
        self._args = args

        logger.debug("Initialized %s: '%s'", self.__class__.__name__, self._name)

    @staticmethod
    def build_target_kwargs(in_queue, out_queue, kwargs):
        """ Add standard kwargs to passed in kwargs list """
        kwargs["log_init"] = set_root_logger
        kwargs["log_queue"] = LOG_QUEUE
        kwargs["in_queue"] = in_queue
        kwargs["out_queue"] = out_queue
        return kwargs
              postprocess_items["FaceFilter"] = {"kwargs": face_filter}
  
          return postprocess_items
  





















      def do_actions(self, output_item):
          """ Perform the requested post-processing actions """
          for action in self.actions:
              action.process(output_item)
  
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace replace 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/fsmedia.py