From: garciadeblas Date: Fri, 8 Nov 2024 13:22:49 +0000 (+0100) Subject: Reduce log verbosity in readiness_loop function X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F14718%2F3;p=osm%2FLCM.git Reduce log verbosity in readiness_loop function Change-Id: Ib53d726f9910e5afed29f0d97656eeed367b9fb9 Signed-off-by: garciadeblas --- 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 = []