From cd509f541c13130f5f79021ec554faa8177b000f Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 23 Nov 2021 10:04:12 +0100 Subject: [PATCH] Add more logs to ns.py to know nsr and nsd retrieved from db Change-Id: Id4a9dd111ccc26fd98e9fcce60f74d6d24af66d1 Signed-off-by: garciadeblas --- osm_lcm/ns.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1