Increase logging of direct shard connection errors and warnings

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.5, 7.0.21
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.0
    • CAR Team 2024-09-16, CAR Team 2024-09-30
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The direct connection errors/warnings are only logged at a high verbosity once per hour. This makes debugging test failures very difficult because we only have information about one warning - if the error is on the second or third, we won't have any logs for it. Because of this, we should increase the log verbosity of the sharding component in the direct shard connection tests.

      Additionally, it would be helpful for debugging to include the namespace in the log messages as well as the operation type. We will need to ensure that this change doesn't affect atlas's log ingestion rules, though.

              Assignee:
              Allison Easton
              Reporter:
              Allison Easton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: