              # Remove items from algnments that have no faces so they will
              # be re-detected
              del_keys = [key for key, val in data.items() if not val]
              for key in del_keys:
                  if key in data:
                      logger.trace("Selected for redetection: '%s'", key)
                      del data[key]
          return data
  
 
</s> remove             print("Error: {} not read: {}".format(self.file, err.strerror))
 </s> add             logger.error("Error: '%s' not read: %s", self.file, err.strerror) </s> remove                                          cudnn_req[1] >= cudnn_inst[1]):
 </s> add                                          cudnn_req[1] <= cudnn_inst[1]):
            logger.debug("Frames with no faces selected for redetection: %s", len(del_keys))
              # Remove items from algnments that have no faces so they will
              # be re-detected
              del_keys = [key for key, val in data.items() if not val]
            logger.debug("Frames with no faces selected for redetection: %s", len(del_keys))
              for key in del_keys:
                  if key in data:
                      logger.trace("Selected for redetection: '%s'", key)
                      del data[key]
          return data
  
keep keep add keep 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 
scripts/fsmedia.py