summaryrefslogtreecommitdiff
path: root/src/mongo/transport
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-12-14 19:23:55 +0000
committerSara Golemon <sara.golemon@mongodb.com>2019-01-02 20:22:00 +0000
commita8bf642269987f33e9b1deecfa72ce591f5b91dc (patch)
tree028477e0ad982f34b1326e3f9c57e8c8e0590641 /src/mongo/transport
parent93bec638a4b5acef4664006b47ade13788d64bf8 (diff)
downloadmongo-a8bf642269987f33e9b1deecfa72ce591f5b91dc.tar.gz
SERVER-38648 Log bound address/port at startup
Diffstat (limited to 'src/mongo/transport')
-rw-r--r--src/mongo/transport/transport_layer_asio.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/transport/transport_layer_asio.cpp b/src/mongo/transport/transport_layer_asio.cpp
index c41c5d6be68..59659ba3378 100644
--- a/src/mongo/transport/transport_layer_asio.cpp
+++ b/src/mongo/transport/transport_layer_asio.cpp
@@ -776,6 +776,7 @@ Status TransportLayerASIO::start() {
for (auto& acceptor : _acceptors) {
acceptor.second.listen(serverGlobalParams.listenBacklog);
_acceptConnection(acceptor.second);
+ log() << "Listening on " << acceptor.first.getAddr();
}
_listenerThread = stdx::thread([this] {