commit | 47a41993269bf1ae34a1cd56bc15d65f316c16e6 | [log] [tgz] |
---|---|---|
author | Ghanshyam Mann <gmann@ghanshyammann.com> | Wed Oct 02 16:56:26 2019 +0000 |
committer | Ghanshyam Mann <gmann@ghanshyammann.com> | Wed Oct 02 23:11:04 2019 +0000 |
tree | 5819ee47dd8dc69bccfae3d9ad6e3695ee7d74e0 | |
parent | 420155c2348b9e581dd4ffb73c9d88e1488b6f9b [diff] |
Fix the logging of request body credentials Recently we moved the logging of request from rest_client's request() to raw_request which end up logging the credentials also from Token client request. This is to add a kwargs in raw_request() method which tell whether request body needs to log or not. Also update Token clients to pass '<omitted>' to stop logging the credential. Change-Id: I7cbd3656463a51d18b4d72f45a324145283fc7eb