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

Unsupported URI options do not warn

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Logging
    • None

    Description

      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.)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: