From: garciadeblas Date: Tue, 23 Nov 2021 09:04:12 +0000 (+0100) Subject: Add more logs to ns.py to know nsr and nsd retrieved from db X-Git-Tag: v12.0.0rc1~34 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLCM.git;a=commitdiff_plain;h=refs%2Fchanges%2F94%2F11394%2F2 Add more logs to ns.py to know nsr and nsd retrieved from db Change-Id: Id4a9dd111ccc26fd98e9fcce60f74d6d24af66d1 Signed-off-by: garciadeblas --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 9fd440e..22a3dcc 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -2286,8 +2286,10 @@ class NsLcm(LcmBase): # read from db: ns stage[1] = "Getting nsr={} from db.".format(nsr_id) + self.logger.debug(logging_text + stage[1]) db_nsr = self.db.get_one("nsrs", {"_id": nsr_id}) stage[1] = "Getting nsd={} from db.".format(db_nsr["nsd-id"]) + self.logger.debug(logging_text + stage[1]) nsd = self.db.get_one("nsds", {"_id": db_nsr["nsd-id"]}) self.fs.sync(db_nsr["nsd-id"]) db_nsr["nsd"] = nsd