[CDRIVER-1685] Add trace message of selected server during server selection Created: 10/Oct/16  Updated: 19/Oct/16  Resolved: 12/Oct/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Improvement Priority: Major - P3
Reporter: Derick Rethans Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Please add a log/trace message for which server has been selected to run the query against - including host name and port. That probably means logging the return value of ```mongoc_topology_select```.



 Comments   
Comment by Githook User [ 12/Oct/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1685 add trace output for server selection
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/70c36ac31afb442aa3ac7e523bb60db231b81892

Comment by Derick Rethans [ 11/Oct/16 ]

Don't need it, but it would be helpful I think!

Comment by A. Jesse Jiryu Davis [ 10/Oct/16 ]

Do you also need some info about which servers were rejected by mongoc_topology_select and why? Or is it enough to only log which server is selected?

Generated at Wed Feb 07 21:13:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.