Stop showing json deserialized message in log

We stop showing json deserialized message in debug log, because
message will involved with some private credential message (like
password). Let's block it for now, until we get a better solution.
Partial-Bug: #1664792

Change-Id: I07410df56449c5414a5572d07507e17f5858c5c6
(cherry picked from commit 1c32b85d54)
This commit is contained in:
ricolin 2017-02-15 15:04:27 +08:00 committed by Crag Wolfe
parent 4608336a6e
commit ae4fff5fa6
1 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,11 @@ class JSONResponseSerializer(object):
return six.text_type(obj)
response = jsonutils.dumps(data, default=sanitizer)
LOG.debug("JSON response : %s" % response)
# TODO(ricolin): Fix response through private credential information,
# before enable below debug message.
# LOG.debug("JSON response : %s" % response)
return response
def default(self, response, result):