          self.output_dir = output
          self.trainer = trainer
  
          if not os.path.isdir(self.output_dir):
              print('Error: {} does not exist'.format(self.output_dir))
              exit(1)
  
          self.files_a = self.read_input_images(input_dir_a)
          self.files_b = self.read_input_images(input_dir_b)
  
 
</s> remove                 print('Error: {} does not exist'.format(image_dir))
 </s> add                 logger.error("Error: '%s' does not exist", image_dir) </s> remove             print('Error: {} does not exist'.format(input_dir))
 </s> add             logger.error("'%s' does not exist", input_dir) </s> remove             print('Error: {} contains no images'.format(input_dir))
 </s> add             logger.error("'%s' contains no images", input_dir) </s> remove                 print('Error: {} contains no images'.format(image_dir))
 </s> add                 logger.error("Error: '%s' contains no images", image_dir) </s> remove             faces["output_file"] = self.output_dir / Path(filename).stem
 </s> add 
            logger.error("'%s' does not exist", self.output_dir)
          self.output_dir = output
          self.trainer = trainer
  
          if not os.path.isdir(self.output_dir):
            logger.error("'%s' does not exist", self.output_dir)
              exit(1)
  
          self.files_a = self.read_input_images(input_dir_a)
          self.files_b = self.read_input_images(input_dir_b)
  
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 
lib/utils.py