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

Include database name in auth log message

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.2
    • Affects Version/s: 2.0.2
    • Component/s: Logging, Security
    • None

      It would be useful to include the database name in auth log messages.

      For example, if we have a user "someuser" in the database "somedb", the log message would currently read (2.0.3-rc1):

      authenticate:

      { authenticate: 1, nonce: "abcd1234", user: "someuser", key: "abcd1234abcd1234" }

      That might become:

      authenticate:

      { authenticate: 1, nonce: "abcd1234", db: "somedb", user: "someuser", key: "abcd1234abcd1234" }

      or maybe:

      authenticate:

      { authenticate: 1, nonce: "abcd1234", user: "somedb.someuser", key: "abcd1234abcd1234" }

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            jared Jared D. Cottrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: