          logger.debug("Initializing %s", self.__class__.__name__)
          self.args = arguments
          self.input_images = self.get_input_images()
          self.images_found = len(self.input_images)
  
      def get_input_images(self):
          """ Return the list of images that are to be processed """
          if not os.path.exists(self.args.input_dir):
              logger.error("Input directory %s not found.", self.args.input_dir)
 
</s> remove             print("Input directory {} not found.".format(self.args.input_dir))
 </s> add             logger.error("Input directory %s not found.", self.args.input_dir) </s> remove     exclude_names = [os.path.basename(Path(x).stem[:Path(x).stem.rfind('_')] +
                                      Path(x).suffix) for x in exclude]
 </s> add 
        logger.debug("Initialized %s", self.__class__.__name__)
          logger.debug("Initializing %s", self.__class__.__name__)
          self.args = arguments
          self.input_images = self.get_input_images()
          self.images_found = len(self.input_images)
        logger.debug("Initialized %s", self.__class__.__name__)
  
      def get_input_images(self):
          """ Return the list of images that are to be processed """
          if not os.path.exists(self.args.input_dir):
              logger.error("Input directory %s not found.", self.args.input_dir)
keep 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 
scripts/fsmedia.py