This is a great method, but what we really need to do is verify in a spec that the sensitive information isn't being logged at all.  See [this commit](https://github.com/cloudfoundry/cloud_controller_ng/commit/780641ddabed9f3bcc474dfd7d51d4f9b3f8ea8f) for an example of how to test the logging behavior.