Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-75354

Investigate codebase for log line attribute uniformity for databasename

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Serverless

      The codebase is logging a DatabaseName with different attribute names such as `db` which is the correct one, `dbName` or `database`. Potentially more.

      As part of SERVER-74485 we worked on standardizing  this by using `logAttrs` as much as possible.

      We should investigate places that are using a different attribute name (i.e. not using `db` as an attribute of DatabaseName in logging) and see if they can be changed from whatever attribute they are using, with `db` (by using `logAttrs()`).

      As a reminder, downstream systems might be looking at log message / error / warning messages. Replacing a log line might in fact cause some issues which is why we need to investigate what can be changed.

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: