-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: 2.0.0
-
Component/s: None
-
None
It would be nice to have the following log message so that we can track the adding of a server to the cluster. This also would be symmetrical with the logging of removing a server from the cluster which is already in place. Here's the patch.
module Event class ServerAdded include Loggable # log message added to be symmetric with ServerRemoved def handle(address) log(:debug, 'MONGODB', [ "#{address} being added to the cluster." ]) cluster.add(address) end end end