Add TopologyID to all log messages

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Logging
    • Needed

      Summary

      It could happen that multiple mongo clients write to the same log file. To make the logs easier for users to parse, we should include the client-unique topology id in each log message.

      The SDAM specifications already include TopologyID. This ticket proposes including TopologyID in the following specifications:

      Open question: should we include TopologyID in server selection? These logs should already include a topology description.

      Motivation

      Including the client-unique topology id in each log message will help make logging easier to parse, especially in cases where the user is pooling clients.

              Assignee:
              Unassigned
              Reporter:
              Preston Vasquez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: