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

Move mongoc_log_trace_[disable|enable] to public API

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.4.0
    • 1.4.0
    • None
    • None

    Description

      When compiling with --enable-tracing we have a feature to disable/re-enable tracing at run time.

      Drivers written ontop of mongoc would generally compile with --enable-tracing and then use mongoc_log_trace_disable() in their bootstrapping so they can selectively enable debug logging without recompiling.

      This feature already exists, but is behind lock and key

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: