diff --git a/lib/Elastic.py b/lib/Elastic.py index 70236a9a3..807660f4c 100644 --- a/lib/Elastic.py +++ b/lib/Elastic.py @@ -82,14 +82,9 @@ class Elastic(object): body=result, doc_type=_type, refresh=True) - if self.workload == "shaker": - self.logger.debug("Pushed data to Elasticsearch to index {}" - " and browbeat UUID {}" . - format(self.index, result['browbeat_uuid'])) - else: - self.logger.info("Pushed data to Elasticsearch to index {}" - " and browbeat UUID {}" . - format(self.index, result['browbeat_uuid'])) + self.logger.debug("Pushed data to Elasticsearch to index {}" + "and browbeat UUID {}". + format(self.index, result['browbeat_uuid'])) return True except Exception as Err: self.logger.error("Error pushing data to Elasticsearch, going to retry"