summaryrefslogtreecommitdiff
path: root/src/mongo/executor/connection_pool_tl.cpp
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2020-04-17 15:57:36 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-22 16:03:37 +0000
commit62b0831c4bd1d2af48aa19622cb62eb73fe7a47d (patch)
tree2f2d217828352e435b743356709a1581174ebb0c /src/mongo/executor/connection_pool_tl.cpp
parenta6424fafa179805e192dc354cae85fdf0359f95e (diff)
downloadmongo-62b0831c4bd1d2af48aa19622cb62eb73fe7a47d.tar.gz
SERVER-47073 Clean up log lines in mongo/client and mongo/executor
Diffstat (limited to 'src/mongo/executor/connection_pool_tl.cpp')
-rw-r--r--src/mongo/executor/connection_pool_tl.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/executor/connection_pool_tl.cpp b/src/mongo/executor/connection_pool_tl.cpp
index 17d8d9c852e..a7145cb38e1 100644
--- a/src/mongo/executor/connection_pool_tl.cpp
+++ b/src/mongo/executor/connection_pool_tl.cpp
@@ -308,9 +308,10 @@ void TLConnection::setup(Milliseconds timeout, SetupCallback cb) {
} else {
LOGV2_DEBUG(22584,
2,
- "Failed to connect to {peer} - {status}",
- "peer"_attr = _peer,
- "status"_attr = redact(status));
+ "Failed to connect to {hostAndPort} - {error}",
+ "Failed to connect",
+ "hostAndPort"_attr = _peer,
+ "error"_attr = redact(status));
handler->promise.setError(status);
}
});