Skip to content

Commit cd61c05

Browse files
committed
Merge branch 'v1.17'
2 parents 8159706 + a0d78fc commit cd61c05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

php_phongo.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ PHP_MINIT_FUNCTION(mongodb) /* {{{ */
177177
* a logger. */
178178
mongoc_log_set_handler(NULL, NULL);
179179

180+
/* Disable trace logging. This will be enabled in phongo_log_sync_handlers()
181+
* if the "mongodb.debug" INI option is set. */
182+
mongoc_log_trace_disable();
183+
180184
phongo_register_ini_entries(INIT_FUNC_ARGS_PASSTHRU);
181185

182186
/* Assign our custom vtable to libbson, so all memory allocation in libbson

0 commit comments

Comments
 (0)