Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1235

Don't log username during auth

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: 1.3.5
    • Component/s: auth
    • None
    • Environment:
      Linux xxx 2.6.32-573.18.1.el6.x86_64 #1 SMP Wed Jan 6 11:20:49 EST 2016 x86_64 x86_64 x86_64 GNU/Linux

      with new C++11 driver, right after retrieving the first doc from first query, following message are prompt to stdout:

      2016/05/18 15:15:30.0102: [19782]:     INFO:      cluster: SCRAM: authenticating "XXX" (step 1)
      2016/05/18 15:15:30.0124: [19782]:     INFO:      cluster: SCRAM: authenticating "XXX" (step 2)
      2016/05/18 15:15:30.0124: [19782]:     INFO:      cluster: SCRAM: authenticating "XXX" (step 3)
      2016/05/18 15:15:30.0124: [19782]:     INFO:      cluster: SCRAM: "XXX" authenticated
      

      Looks like it's some debug message that should not be kept in the library. I would like to suppress these information which is directly dumped to stdout. I expect mongocxx library not dump messages directly to stdout. Please let me know if I misunderstood. Please advice if this can be done without redirecting stdout with current library, or is there a plan to fix this soon.

      Thanks!
      Judy

            Assignee:
            Unassigned Unassigned
            Reporter:
            Judy.Han Judy Han [X]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: