[CDRIVER-1094] Move mongoc_log_trace_[disable|enable] to public API Created: 09/Feb/16  Updated: 10/Aug/16  Resolved: 22/Feb/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.4.0
Fix Version/s: 1.4.0

Type: New Feature Priority: Major - P3
Reporter: Hannes Magnusson Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Public API for PHP drivers

 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



 Comments   
Comment by Githook User [ 22/Feb/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1094 public trace_enable / disable

Make mongoc_log_trace_enable and mongoc_log_trace_disable public.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/ee92496b81cff62cc3b55778498a3c224a5f5572

Generated at Wed Feb 07 21:11:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.