              dst = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
              try:
                  process_file(src, dst, self.changes)
              except FileNotFoundError as err:
                  print(err)
                  print('fail to rename {}'.format(src))
  
          for i in tqdm(range(0, len(img_list)),
                        desc=description,
                        file=sys.stdout):
              renaming = self.set_renaming_method(self.args.log_changes)
 
</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(err)
                print('fail to rename {}'.format(src))
 </s> add                 logger.error(err)
                logger.error('fail to rename %s', format(src)) </s> remove         print("Total groups found: {}".format(len(bins)))
 </s> add         logger.info("Total groups found: %s", len(bins)) </s> remove         print("Creating group directories.")
 </s> add         logger.info("Creating group directories.") </s> remove             print('backup functionality not available\n')       
            
 </s> add             logger.error('backup functionality not available\n')

                logger.error(err)
                logger.error('fail to rename %s', src)
              dst = os.path.join(output_dir, '{:05d}_{}'.format(i, src_basename))
              try:
                  process_file(src, dst, self.changes)
              except FileNotFoundError as err:
                logger.error(err)
                logger.error('fail to rename %s', src)
                logger.error(err)
                logger.error('fail to rename %s', src)
  
          for i in tqdm(range(0, len(img_list)),
                        desc=description,
                        file=sys.stdout):
              renaming = self.set_renaming_method(self.args.log_changes)
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