Move mongoc_log_trace_[disable|enable] to public API

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: