Performance degradation in 1.17 due to trace logging

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 1.17.2
    • Affects Version/s: 1.17.0
    • Component/s: Performance
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: