mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-02 13:13:08 +00:00
fix: simplify match print
This commit is contained in:
parent
27f55c3870
commit
26c4aecd95
@ -146,10 +146,9 @@ class NomosNode:
|
||||
|
||||
logger.info(f"Printing log matches for {self.name()}")
|
||||
if matches_found:
|
||||
for match in matches_found:
|
||||
if len(matches_found[match]) != 0:
|
||||
for log_line in matches_found[match]:
|
||||
logger.debug(f"Log line matching keyword '{match}': {log_line}")
|
||||
for keyword, log_lines in matches_found.items():
|
||||
for line in log_lines:
|
||||
logger.debug(f"Log line matching keyword '{keyword}': {line}")
|
||||
else:
|
||||
logger.debug("No keyword matches found in the logs.")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user