      if os.path.exists(origfile):
          os.rename(origfile, backupfile)
  
  
  def set_system_verbosity(loglevel):
      """ Set the verbosity level of tensorflow and suppresses
          future and deprecation warnings from any modules
          From:
          https://stackoverflow.com/questions/35911252/disable-tensorflow-debugging-information
          Can be set to:
 
</s> remove         lvl = '0' if verbose else '2'
        set_system_verbosity(lvl)
 </s> add         set_system_verbosity() </s> remove                                         dest_format,
                                        self.args.verbose)

    @staticmethod
    def set_verbosity(verbose):
        """ Set the system output verbosity """
        lvl = '0' if verbose else '2'
        set_system_verbosity(lvl)
 </s> add                                         dest_format) </s> remove     def join_threads(self):
        """ Join the running threads """
        for thread in self.threads:
 </s> add     def join(self):
        """ Join the running threads, catching and re-raising any errors """
        logger.debug("Joining Threads: '%s'", self._name)
        for thread in self._threads:
            logger.debug("Joining Thread: '%s'", thread._name)  # pylint: disable=protected-access
def set_system_verbosity():
      if os.path.exists(origfile):
          os.rename(origfile, backupfile)
  
  
def set_system_verbosity():
      """ Set the verbosity level of tensorflow and suppresses
          future and deprecation warnings from any modules
          From:
          https://stackoverflow.com/questions/35911252/disable-tensorflow-debugging-information
          Can be set to:
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