Skip to content

Commit

Permalink
refactor(reporter): Log INFO message when sending reports
Browse files Browse the repository at this point in the history
This should make debugging issues like #38 a bit easier.
  • Loading branch information
phijor committed Jul 23, 2021
1 parent 03ad209 commit 7c0af23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricq_sink_nsca/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ async def _send_reports(self, *reports: NscaReport):
if not reports:
return

logger.debug(f"Sending {len(reports)} report(s)")
logger.info("Sending {} NSCA report(s)", len(reports))

if self._dry_run:
return
Expand Down

0 comments on commit 7c0af23

Please sign in to comment.