Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2703

Add TopologyID to all log messages

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Logging
    • Labels:
    • 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 Unassigned
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: