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
This commit is contained in:
parent
302b51e308
commit
1c32b85d54
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user