summaryrefslogtreecommitdiffstats
path: root/share/newton_base/openoapi/limits.py
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-04-25 16:40:44 +0800
committerYun Huang <yun.huang@windriver.com>2018-04-25 16:40:44 +0800
commit12bd2fd8f69cc4635945fcf6cf451660cce7f1c6 (patch)
tree10f3d96ba7bdab4f91200f6d29e9c5caa482b131 /share/newton_base/openoapi/limits.py
parent3b489ef5aa8593582e550568fff263827aff0a6f (diff)
Logging enhancement for openo network API
Change-Id: I8060dc3759eca5284ab29240c79f962599cf245b Issue-ID: MULTICLOUD-178 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'share/newton_base/openoapi/limits.py')
-rw-r--r--share/newton_base/openoapi/limits.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/newton_base/openoapi/limits.py b/share/newton_base/openoapi/limits.py
index f3ff42b6..5789dfd4 100644
--- a/share/newton_base/openoapi/limits.py
+++ b/share/newton_base/openoapi/limits.py
@@ -78,6 +78,7 @@ class Limits(APIView):
content = resp.json()
content_all.update(content['limits']['absolute'])
+ logger.info("response with status = %s" % resp.status_code)
return Response(data=content_all, status=resp.status_code)
except VimDriverNewtonException as e:
logger.error("response with status = %s" % e.status_code)