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

getLog returns truncated lines when logUserIds=1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.3.2
    • 2.4.0-rc0
    • Logging
    • None
    • ALL
    • Hide

      1. Start mongod with --setParameter logUserIds=1 -v
      2. Connect through shell and login.
      3. Run dbStats command.
      4. Run

      { getLog: 'global' }
      Show
      1. Start mongod with --setParameter logUserIds=1 -v 2. Connect through shell and login. 3. Run dbStats command. 4. Run { getLog: 'global' }

    Description

      Example line:

      "Tue Jan 15 15:10:58.623 [conn1] user:test@test"

      expected:

      "Tue Jan 15 15:10:58.623 [conn1] user:test@test run command test.$cmd { dbStats: 1.0 }"

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: