Shorten debug output

This commit is contained in:
2023-12-07 11:23:25 -05:00
parent 1b84553405
commit bf158dc2d9
2 changed files with 3 additions and 9 deletions

View File

@ -571,14 +571,9 @@ class MonitoringInstance(object):
if self.config["debug"]:
self.logger.out(
f"Entries for fault check {fault_type}:",
f"Entries for fault check {fault_type}: {dumps(entries)}",
state="d",
)
for line in dumps(entries, indent=2).split("\n"):
self.logger.out(
line,
state="d",
)
for _entry in entries:
entry = _entry["entry"]