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

Provide a way to suppress mongoc warning message for counters

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4.1, 1.5.0
    • Affects Version/s: 1.3.3
    • Component/s: libmongoc
    • Labels:
    • Environment:
      Red Hat Linux

      We need to suppress the following warning message from going out to stdout
      WARNING: mongoc: Falling back to malloc for counters.

      Currently we are disabling mongo-c performance counters by default (by setting MONGOC_DISABLE_SHM) but because of that users are seeing the warning message on the console and we would like to suppress that.

      It will fine even if the fix is available in later version of the Mongo C Driver.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            tanmoy.palit@shell.com Tanmoy Palit
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: