ES INFO output
Changing the ES PUT ouput from INFO to DEBUG for all workloads. Change-Id: I1dae5e7453dc5d610aeb29588f7d344bd56e0e8d
This commit is contained in:
parent
ca37793bc2
commit
d96c8d5f7c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user