  from io import StringIO
  
  from lib.aligner import Extract
  from lib.gpu_stats import GPUStats
  from lib.faces_detect import DetectedFace
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class Aligner():
 
</s> remove from math import sqrt
 </s> add  </s> remove         self.pool = ctx.Pool(processes=self.procs)

 </s> add         self.pool = ctx.Pool(processes=self.procs,
                             initializer=set_root_logger,
                             initargs=(logger.getEffectiveLevel(), LOG_QUEUE)) </s> remove         kwargs["log_init"] = set_root_logger
        kwargs["log_queue"] = LOG_QUEUE
 </s> add 
  from io import StringIO
  
  from lib.aligner import Extract
  from lib.gpu_stats import GPUStats

  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class Aligner():
keep keep keep keep replace keep keep keep keep keep
 Move mp logging functions to multithreading module 
plugins/extract/align/_base.py