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

Include database name in auth log message

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.2
    • 2.0.2
    • Logging, Security
    • None

    Description

      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" }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: