Commit dc3c177
committed
Remove connection string from log message
A connection string containing an unsupported option generates a log
message at warning level to the "org.mongodb.driver.uri" component. The
log message contains the full connection string. As the connection
string may contain the credentials used to authenticate, it should not
be logged. This commit removes the full connection string from the log
message, and instead just logs the name of the unsupported option.
JAVA-30931 parent 0c01d71 commit dc3c177
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| |||
0 commit comments