-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Logging
Use Case
As a driver engineer
I want to add the new logger to the SRVPoller if NODE-4719 does not cover this case
So that any errors in server polling can be reported
Description
Since we removed the legacy logger in NODE-4817, the SRVPoller no longer has the capacity to report any errors.
Open questions
- Should we add an SrvPollerFailure event to allow users to programatically keep track of server discovery?
- Do other drivers worry about this type of failure?
- What logging component would this go under?
Acceptance Criteria
Implementation Requirements
- adds logging to the following methods
- SrvPoller.failure
- SrvPoller.schedule
- Reimplement parentDomainMismatch method
Testing Requirements
- Unit tests to ensure that we capture a log message on any SrvPoller errors
- depends on
-
NODE-4719 Add log messages to SDAM spec
- Closed