  
              try:
                  os.rename(src, dst)
              except FileNotFoundError as err:
                  print(err)
                  print('fail to rename {}'.format(src))
  
          if self.args.log_changes:
              self.write_to_log(self.changes)
  
      def final_process_folders(self, bins):
 
</s> remove                 print(err)
                print('fail to rename {}'.format(src))
 </s> add                 logger.error(err)
                logger.error('fail to rename %s', src) </s> remove                     print(err)
                    print('Failed to move {0} to {1}'.format(src, dst))
 </s> add                     logger.error(err)
                    logger.error("Failed to move '%s' to '%s'", src, dst) </s> remove                 print("Saving model weights has been cancelled!")
 </s> add                 logger.info("Saving model weights has been cancelled!") </s> remove         if self.verbose:
            print("Renamed {} to {}".format(src, dst))
 </s> add         logger.verbose("Renamed '%s' to '%s'", src, dst)
                logger.error(err)
                logger.error('fail to rename %s', format(src))
  
              try:
                  os.rename(src, dst)
              except FileNotFoundError as err:
                logger.error(err)
                logger.error('fail to rename %s', format(src))
                logger.error(err)
                logger.error('fail to rename %s', format(src))
  
          if self.args.log_changes:
              self.write_to_log(self.changes)
  
      def final_process_folders(self, bins):
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/sort.py