  
      def debug_queue_sizes(self, update_secs):
          """ Output the queue sizes """
          while True:
              print("=== QUEUE SIZES ===")
              for name in sorted(self.queues.keys()):
                  print(name, self.queues[name].qsize())
              print("====================\n")
              sleep(update_secs)
  
 
</s> remove                 print(name, self.queues[name].qsize())
            print("====================\n")
 </s> add                 logger.info("%s: %s", name, self.queues[name].qsize()) </s> remove         """ Output the queue sizes """
 </s> add         """ Output the queue sizes
            logged to INFO so it also displays in console
        """ </s> remove         """ Add a queue to the manager """
 </s> add         """ Add a queue to the manager

            Adds an event "shutdown" to the queue that can be used to indicate
            to a process that any activity on the queue should cease """

        logger.debug("QueueManager adding: (name: '%s', maxsize: %s)", name, maxsize)
  
      def debug_queue_sizes(self, update_secs):
          """ Output the queue sizes """
          while True:

              for name in sorted(self.queues.keys()):
                  print(name, self.queues[name].qsize())
              print("====================\n")
              sleep(update_secs)
  
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/queue_manager.py