SpringSource/spring-data-mongodb — pull request #17 by kdombeck (2012-10-29 20:19:58+00:00)
Title: Remove password from CannotGetMongoDbConnectionException message

Since we log all uncaught exceptions to the log file it would be nice if the password was not logged at all.

Example:
org.springframework.data.mongodb.CannotGetMongoDbConnectionException: Failed to authenticate to database [myDatabase], username = [myUsername], password = [myPassword]

should just be
org.springframework.data.mongodb.CannotGetMongoDbConnectionException: Failed to authenticate to database [myDatabase], username = [myUsername]