Skip to content

Commit

Permalink
Glances writing lots of Docker Error message in logs file nicolargo#1561
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Nov 21, 2019
1 parent 7228a91 commit 2677448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glances/exports/glances_influxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def export(self, name, columns, points):
try:
self.client.write_points(self._normalize(name, columns, points))
except Exception as e:
logger.error("Cannot export {} stats to InfluxDB ({})".format(name, e))
# Log level set to debug instead of error (see: issue #1561)
logger.debug("Cannot export {} stats to InfluxDB ({})".format(name, e))
else:
logger.debug("Export {} stats to InfluxDB".format(name))

0 comments on commit 2677448

Please sign in to comment.