diff options
author | Vipin Balachandran <vbala@vmware.com> | 2015-07-14 11:27:07 +0530 |
---|---|---|
committer | Vipin Balachandran <vbala@vmware.com> | 2015-07-15 09:31:11 +0530 |
commit | b24f717bc7fa0bee9316936a102b4abd117da564 (patch) | |
tree | d22faf405966c642b70db27f6f253db254df28c2 /oslo_vmware/api.py | |
parent | b4eed67922f36aa796e72d4942d868e187b489c5 (diff) | |
download | oslo-vmware-b24f717bc7fa0bee9316936a102b4abd117da564.tar.gz |
Remove username from logs
Username is logged while establishing vCenter session. This patch
removes username in the log as per OpenStack security guidelines.
See https://goo.gl/aSJids
Change-Id: I50d4c15d3f2213ba1651834ba7b958d8722050b5
Diffstat (limited to 'oslo_vmware/api.py')
-rw-r--r-- | oslo_vmware/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_vmware/api.py b/oslo_vmware/api.py index 5a5db51..32d031a 100644 --- a/oslo_vmware/api.py +++ b/oslo_vmware/api.py @@ -224,7 +224,7 @@ class VMwareAPISession(object): session_manager = self.vim.service_content.sessionManager # Login and create new session with the server for making API calls. - LOG.debug("Logging in with username = %s.", self._server_username) + LOG.debug("Logging into host: %s.", self._host) session = self.vim.Login(session_manager, userName=self._server_username, password=self._server_password) |