-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
2
-
Not Needed
-
Needed
-
Use Case
As a Node driver user,
I want... to be able to access standardized logging's client options and APIs
So that... I can use the logger
User Impact
- Users can now use loggings
- Especially impacts TSEsĀ
Dependencies
- n/a
Unknowns
- None
Acceptance Criteria
Implementation Requirements
- Remove the standardized logging feature flag __enableMongoLogger
- Remove feature flag logging tests
- Mark any logging-specific options as public
Testing Requirements
- n/a
Documentation Requirements
- Follow up with documentation for standardized logging with the docs team
- https://www.mongodb.com/docs/drivers/node/current/fundamentals/logging/
- Details to cover:
- How to enable via client options (JS object)
- How to enable via env variables (without code changes!)
- Components and Severity level controls
- How to customize output destination: stdout/err builtin support, custom log function. Include a warning about log rotation.
- Make a note about wrapping libraries/apps overriding the client options to avoid environment variable support (if it is undesirable)
- Performance implications for different components
Follow Up Requirements
- n/a
- has to be done before
-
NODE-6209 Consider adding first-class support for Logging in Mongoose
- Backlog