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/?a=commitdiff_plain;h=cd509f541c13130f5f79021ec554faa8177b000f;p=osm%2FLCM.git 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