From a31a91680155149833491e709edb253e2ba424a0 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 8 Nov 2024 14:22:49 +0100 Subject: [PATCH] Reduce log verbosity in readiness_loop function Change-Id: Ib53d726f9910e5afed29f0d97656eeed367b9fb9 Signed-off-by: garciadeblas --- osm_lcm/odu_libs/workflows.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/osm_lcm/odu_libs/workflows.py b/osm_lcm/odu_libs/workflows.py index 094aa9e..80527ed 100644 --- a/osm_lcm/odu_libs/workflows.py +++ b/osm_lcm/odu_libs/workflows.py @@ -17,7 +17,6 @@ import asyncio -import yaml from math import ceil @@ -95,10 +94,10 @@ async def readiness_loop(self, item, name, namespace, flag, timeout): name=name, ) if generic_object: - self.logger.debug(f"{yaml.safe_dump(generic_object)}") + # self.logger.debug(f"{yaml.safe_dump(generic_object)}") conditions = generic_object.get("status", {}).get("conditions", []) else: - self.logger.debug( + self.logger.info( f"Could not find {api_plural}. Name: {name}. Namespace: '{namespace}'. API: {api_group}/{api_version}" ) conditions = [] -- 2.25.1