code: def log_exceptions(self, c, broker):
          
  
          if c in broker.exceptions:
              ex = broker.exceptions.get(c)
              ex = "Exception in {0} - {1}".format(dr.get_name(c), str(ex))
              self.logit(ex, self.pid, self.user, "insights-run", logging.ERROR)
docs: Gets exceptions to be logged and sends to logit function to be logged to syslog