Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1119

Unsupported URI options do not warn

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging
    • None

      The connection string spec requires that unsupported option keys result in a warning: A WARN level logging message MUST be issued

      The Go driver connection string package accumulates UnknownOptions, but doesn't appear to do anything with them.

      (This raises a secondary question of whether Go driver logging should use the log package or whether the Go driver should allow a logger to be injected into the client via options and used for logging.)

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: