code: def run(self):
      
      while True:
        try:
          try:
            name, value, valueType, stamp = self.queue.get()
          except TypeError:
            break
          self.log(name, value, valueType, stamp)
        finally:
          self.queue.task_done()
docs: Run the thread.