diff options
Diffstat (limited to 'src/mongo/client/streamable_replica_set_monitor.cpp')
-rw-r--r-- | src/mongo/client/streamable_replica_set_monitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/streamable_replica_set_monitor.cpp b/src/mongo/client/streamable_replica_set_monitor.cpp index 86d08e595db..1448862124b 100644 --- a/src/mongo/client/streamable_replica_set_monitor.cpp +++ b/src/mongo/client/streamable_replica_set_monitor.cpp @@ -689,8 +689,8 @@ void StreamableReplicaSetMonitor::onTopologyDescriptionChangedEvent( "RSM {replicaSet} Topology Change: {newTopologyDescription}", "RSM Topology Change", "replicaSet"_attr = getName(), - "newTopologyDescription"_attr = newDescription->toString(), - "previousTopologyDescription"_attr = previousDescription->toString()); + "newTopologyDescription"_attr = newDescription->toBSON(), + "previousTopologyDescription"_attr = previousDescription->toBSON()); auto maybePrimary = newDescription->getPrimary(); if (maybePrimary) { |