Skip to content

Commit

Permalink
set queue length logs to debug to reduce spamming
Browse files Browse the repository at this point in the history
  • Loading branch information
miaucl committed Aug 22, 2024
1 parent 58dc40a commit 65fb30e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker2mqtt/docker2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def handle_events_queue(self) -> None:
try:
if self.b_events:
event_line = self.docker_events.get(block=False)
events_logger.info("Events queue length: %s", docker_events_qsize)
events_logger.debug("Events queue length: %s", docker_events_qsize)
except Empty:
# No data right now, just move along.
return
Expand Down Expand Up @@ -604,7 +604,7 @@ def handle_stats_queue(self) -> None:
try:
if self.b_stats:
stat_line = self.docker_stats.get(block=False)
stats_logger.info("Stats queue length: %s", docker_stats_qsize)
stats_logger.debug("Stats queue length: %s", docker_stats_qsize)
except Empty:
# No data right now, just move along.
return
Expand Down

0 comments on commit 65fb30e

Please sign in to comment.