summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--neutron/api/v2/base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/neutron/api/v2/base.py b/neutron/api/v2/base.py
index 5ecfe7d..7e21ee5 100644
--- a/neutron/api/v2/base.py
+++ b/neutron/api/v2/base.py
@@ -21,6 +21,7 @@ from neutron_lib import exceptions
21from oslo_log import log as logging 21from oslo_log import log as logging
22from oslo_policy import policy as oslo_policy 22from oslo_policy import policy as oslo_policy
23from oslo_utils import excutils 23from oslo_utils import excutils
24from oslo_utils import strutils
24import six 25import six
25import webob.exc 26import webob.exc
26 27
@@ -687,7 +688,8 @@ class Controller(object):
687 if not body: 688 if not body:
688 raise webob.exc.HTTPBadRequest(_("Resource body required")) 689 raise webob.exc.HTTPBadRequest(_("Resource body required"))
689 690
690 LOG.debug("Request body: %(body)s", {'body': body}) 691 LOG.debug("Request body: %(body)s",
692 {'body': strutils.mask_password(body)})
691 try: 693 try:
692 if collection in body: 694 if collection in body:
693 if not allow_bulk: 695 if not allow_bulk: