Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5672

Release standardized logging

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 6.13.0
    • Affects Version/s: None
    • Component/s: None
    • Needed
    • Hide

      https://www.mongodb.com/docs/drivers/node/current/fundamentals/logging/ should be updated as noted in the release highlight that from driver version 6.13.0 general logging is available in the driver.

      Show
      https://www.mongodb.com/docs/drivers/node/current/fundamentals/logging/ should be updated as noted in the release highlight that from driver version 6.13.0 general logging is available in the driver.

      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

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: