          if self.batch_size < 1:
              raise ValueError("Insufficient VRAM available to continue "
                               "({}MB)".format(int(alloc)))
  
          if self.verbose:
              print("Processing in {} threads".format(self.batch_size))
  
          self.kwargs["pnet"] = pnet
          self.kwargs["rnet"] = rnet
          self.kwargs["onet"] = onet
  
 
</s> remove         if self.verbose:
            print("Processing in batches of {}".format(self.batch_size))
 </s> add         logger.verbose("Processing in batches of %s", self.batch_size) </s> remove             if self.verbose:
                print("Using CPU. Limiting RAM useage to {}MB".format(alloc))
 </s> add             logger.warning("Using CPU")
        else:
            alloc = vram_free
        logger.debug("Allocated for Tensorflow: %sMB", alloc) </s> remove         print("Initialized MTCNN Detector.")
 </s> add         logger.info("Initialized MTCNN Detector.") </s> remove         if self.verbose:
            print("GPU VRAM used:    {}".format(vram))

 </s> add         if self.logger:
            self.logger.verbose("GPU VRAM used: %s", vram) </s> remove                 if self.verbose:
                    print("Skipping {} - Alignments "
                          "not found".format(frame_name))
 </s> add                 logger.verbose("Skipping '%s' - Alignments not found", frame_name)
        logger.verbose("Processing in %s threads", self.batch_size)
          if self.batch_size < 1:
              raise ValueError("Insufficient VRAM available to continue "
                               "({}MB)".format(int(alloc)))
  
        logger.verbose("Processing in %s threads", self.batch_size)
        logger.verbose("Processing in %s threads", self.batch_size)
  
          self.kwargs["pnet"] = pnet
          self.kwargs["rnet"] = rnet
          self.kwargs["onet"] = onet
  
keep keep keep keep 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 
plugins/extract/detect/mtcnn.py