Skip to content

Commit

Permalink
lower log to debug
Browse files Browse the repository at this point in the history
Signed-off-by: Zen <z@pyl.onl>
  • Loading branch information
desultory committed Jan 19, 2024
1 parent c1d6a02 commit da13028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prometheus_exporter/cached_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def read_config(self):
""" Override read_config to add cache_life """
super().read_config()
if hasattr(self, 'cache_life'):
self.logger.warning("Cache life already set to: %ds", self.cache_life)
self.logger.debug("Cache life already set to: %ds", self.cache_life)
return
self.cache_life = self.config.get('cache_life', 60)
self.logger.info("Set cache_life to: %d seconds", self.cache_life)
Expand Down

0 comments on commit da13028

Please sign in to comment.