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

Support all log configuration options via client

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      The initial implementation only allows the log destination to be configured via a client option. We should also allow client options for the other log settings like log levels by component and the max document length.

      AC

      • Agree with the team on corresponding client option names and update the design doc accordingly
      • Add configurable component severities and default severity as a client option through constructor ONLY
      • Add configurable max document length as a client option through constructor ONLY
      • Unit testing for each component severity + default severity value,
      • Unit testing for max document length 

            Assignee:
            aditi.khare@mongodb.com Aditi Khare
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: