-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: 1.17.0
-
Component/s: Performance
-
None
As explained in this GitHub comment, the changes made to logging in 1.17 lead to trace logging being enabled by default until a log handler has been set. This causes significant performance degradation as every message sent over the wire is logged by libmongoc.
Disabling trace logging at startup should fix the issue.
- is related to
-
PHPC-2180 Allow applications to register a LogSubscriber globally
-
- Closed
-
- related to
-
CDRIVER-4800 Return early in mongoc_log_trace functions if no logger is configured
-
- Closed
-