          folder, filename = os.path.split(alignments_file)
          if filename.lower() == "dfl":
              folder = None
              filename = "dfl"
              print("Using extracted pngs for alignments")
          elif not os.path.isfile(alignments_file):
              print("ERROR: alignments file not "
                    "found at: {}".format(alignments_file))
              exit(0)
          if verbose and folder:
 
</s> remove             print("ERROR: alignments file not "
                  "found at: {}".format(alignments_file))
 </s> add             logger.error("ERROR: alignments file not found at: '%s'", alignments_file) </s> remove         if verbose and folder:
            print("Alignments file exists at {}".format(alignments_file))
 </s> add         if folder:
            logger.verbose("Alignments file exists at '%s'", alignments_file) </s> remove     def check_file_exists(alignments_file, verbose):
 </s> add     def check_file_exists(alignments_file): </s> remove     def set_dfl(self, verbose, destination_format):
 </s> add     def set_dfl(self, destination_format): </s> remove         super().__init__(folder, filename=filename, verbose=verbose)
 </s> add         super().__init__(folder, filename=filename)
            logger.info("Using extracted pngs for alignments")
          folder, filename = os.path.split(alignments_file)
          if filename.lower() == "dfl":
              folder = None
              filename = "dfl"
            logger.info("Using extracted pngs for alignments")
          elif not os.path.isfile(alignments_file):
              print("ERROR: alignments file not "
                    "found at: {}".format(alignments_file))
              exit(0)
          if verbose and folder:
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 
tools/lib_alignments/media.py