diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2018-10-22 13:06:21 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2018-10-22 16:17:05 -0400 |
commit | 3b52f9b64914ee46593457a28771acc4cc542a14 (patch) | |
tree | bdfb13ae67a46eb0be782ac9af721d716cb68376 /src/mongo/transport | |
parent | a3901f35219d47ed6a619ac3b6b91c1dd0efd907 (diff) | |
download | mongo-3b52f9b64914ee46593457a28771acc4cc542a14.tar.gz |
SERVER-37098 reduce verbosity of frequently logged log line in NetworkInterfaceTL (currently logged at level 2, which some sharding suites run at)
Diffstat (limited to 'src/mongo/transport')
-rw-r--r-- | src/mongo/transport/transport_layer_asio.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/transport/transport_layer_asio.cpp b/src/mongo/transport/transport_layer_asio.cpp index a338183d693..2d43c75097c 100644 --- a/src/mongo/transport/transport_layer_asio.cpp +++ b/src/mongo/transport/transport_layer_asio.cpp @@ -105,7 +105,9 @@ private: armTimer(); return _timer->async_wait(UseFuture{}).tapError([timer = _timer](const Status& status) { - LOG(2) << "Timer received error: " << status; + if (status != ErrorCodes::CallbackCanceled) { + LOG(2) << "Timer received error: " << status; + } }); } catch (asio::system_error& ex) { |