Skip to content

Commit 2165397

Browse files
committed
Move validateOffload plugin full results to DEBUG level
Currently a lot of unneeded packet statistics are reported at the INFO level. Moving to debug, but keeping rx/tx_packet_start and rx/tx_packet_end in INFO level, along with success boolean and message. Signed-off-by: Venkat Kunaparaju <vkunaparaju@nvidia.com>
1 parent b3f1c09 commit 2165397

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

pluginValidateOffload.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,4 +591,10 @@ def _aggregate_output_log_success(
591591
else:
592592
logger.info("The server VF representor ovn-k8s-mp0_0 does not exist")
593593

594-
logger.info(f"validateOffload results on {self.perf_pod_name}: {result.result}")
594+
msg_suffix = f", {result.msg}" if result.msg is not None else ""
595+
logger.info(
596+
f"validateOffload results on {self.perf_pod_name}: "
597+
f"success={result.success}{msg_suffix}"
598+
)
599+
600+
logger.debug(f"Full results: {result.result}")

0 commit comments

Comments
 (0)