fix log error level 25/72525/1
authormaopengzhang <zhang.maopeng1@zte.com.cn>
Tue, 13 Nov 2018 10:49:02 +0000 (18:49 +0800)
committermaopengzhang <zhang.maopeng1@zte.com.cn>
Tue, 13 Nov 2018 10:56:32 +0000 (18:56 +0800)
fix log error to debug

Change-Id: I4c13159137a77b314f745699fdd4b5733b41b319
Issue-ID: VFC-1158
Signed-off-by: maopengzhang <zhang.maopeng1@zte.com.cn>
lcm/lcm/nf/biz/terminate_vnf.py

index 4f74f62..bcaf643 100644 (file)
@@ -114,7 +114,7 @@ class TerminateVnf(Thread):
         logger.info('Rollback resource complete')
 
     def do_notify_delete(self, res_type, res_id):
         logger.info('Rollback resource complete')
 
     def do_notify_delete(self, res_type, res_id):
-        logger.error('Deleting [%s] resource, resourceid [%s]' % (res_type, res_id))
+        logger.debug('Deleting [%s] resource, resourceid [%s]' % (res_type, res_id))
         resource_type = RESOURCE_MAP.keys()[RESOURCE_MAP.values().index(res_type)]
         resource_table = globals().get(resource_type + 'InstModel')
         resource_table.objects.filter(instid=self.nf_inst_id, resourceid=res_id).delete()
         resource_type = RESOURCE_MAP.keys()[RESOURCE_MAP.values().index(res_type)]
         resource_table = globals().get(resource_type + 'InstModel')
         resource_table.objects.filter(instid=self.nf_inst_id, resourceid=res_id).delete()