Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2337

Performance degradation in 1.17 due to trace logging

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.17.2
    • Affects Version/s: 1.17.0
    • Component/s: Performance
    • Labels:
      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.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: