          if err:
              print(err)
              exit(0)
  
          if self.verbose:
              print("Folder exists at {}".format(self.folder))
  
      @staticmethod
      def valid_extension(filename):
          """ Check whether passed in file has a valid extension """
          extension = os.path.splitext(filename)[1]
 
</s> remove             print(err)
 </s> add             logger.error(err) </s> remove         if self.verbose:
            print("Creating output folder at {}".format(self.faces_dir))
 </s> add         logger.verbose("Creating output folder at '%s'", self.faces_dir) </s> remove             print(err)
 </s> add             logger.error(err) </s> remove         if self.verbose:
            print("Using {} serializer for alignments".format(retval.ext))
 </s> add         logger.verbose("Using '%s' serializer for alignments", retval.ext)
        logger.verbose("Folder exists at '%s'", self.folder)
          if err:
              print(err)
              exit(0)
  
        logger.verbose("Folder exists at '%s'", self.folder)
        logger.verbose("Folder exists at '%s'", self.folder)
  
      @staticmethod
      def valid_extension(filename):
          """ Check whether passed in file has a valid extension """
          extension = os.path.splitext(filename)[1]
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 
tools/lib_alignments/media.py