summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-07-30 03:02:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-04 20:26:25 +0000
commit1d4e30220c8ca0ea002494d9df3f8ff9159e2096 (patch)
tree5fe0370cccdad05ce0838fb87337cdbfe727955d
parent60c08a4a9bb03b6df5bc5fdacb1980cbc4e1741e (diff)
downloadmongo-1d4e30220c8ca0ea002494d9df3f8ff9159e2096.tar.gz
SERVER-49417 Fix connectionId attribute name
-rw-r--r--src/mongo/transport/service_entry_point_impl.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp
index 7c7d39cf6e9..1824ccf1c94 100644
--- a/src/mongo/transport/service_entry_point_impl.cpp
+++ b/src/mongo/transport/service_entry_point_impl.cpp
@@ -164,7 +164,7 @@ void ServiceEntryPointImpl::startSession(transport::SessionHandle session) {
if (connectionCount > _maxNumConnections && !usingMaxConnOverride) {
if (!quiet) {
LOGV2(22942,
- "connection refused because too many open connections",
+ "Connection refused because there are too many open connections",
"connectionCount"_attr = connectionCount);
}
return;
@@ -174,9 +174,9 @@ void ServiceEntryPointImpl::startSession(transport::SessionHandle session) {
if (!quiet) {
LOGV2(22943,
- "connection accepted",
+ "Connection accepted",
"remote"_attr = session->remote(),
- "sessionId"_attr = session->id(),
+ "connectionId"_attr = session->id(),
"connectionCount"_attr = connectionCount);
}
@@ -193,8 +193,9 @@ void ServiceEntryPointImpl::startSession(transport::SessionHandle session) {
if (!quiet) {
LOGV2(22944,
- "connection ended",
+ "Connection ended",
"remote"_attr = remote,
+ "connectionId"_attr = session->id(),
"connectionCount"_attr = connectionCount);
}
});