              dst_fmt = "json"
          elif file_ext in extensions.keys():
              dst_fmt = extensions[file_ext]
          else:
              print("{} is not a supported serializer. "
                    "Exiting".format(file_ext))
              exit(0)
  
          if self.verbose:
              print("Destination format set to {}".format(dst_fmt))
  
 
</s> remove         if self.verbose:
            print("Destination format set to {}".format(dst_fmt))
 </s> add         logger.verbose("Destination format set to '%s'", dst_fmt) </s> remove                 if self.verbose:
                    print("{} is not a png. "
                          "Skipping".format(face["face_fullname"]))
 </s> add                 logger.verbose("'%s' is not a png. Skipping", face["face_fullname"]) </s> remove             print("WARNING: The selected folder is not valid. "
                  "Only folder set with '-fc' is supported for "
                  "'multi-faces' and 'leftover-faces'")
 </s> add             logger.warning("The selected folder is not valid. Only folder set with '-fc' is "
                           "supported for 'multi-faces' and 'leftover-faces'") </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.error("'%s' is not a supported serializer. Exiting", file_ext)
              dst_fmt = "json"
          elif file_ext in extensions.keys():
              dst_fmt = extensions[file_ext]
          else:
            logger.error("'%s' is not a supported serializer. Exiting", file_ext)
            logger.error("'%s' is not a supported serializer. Exiting", file_ext)
              exit(0)
  
          if self.verbose:
              print("Destination format set to {}".format(dst_fmt))
  
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