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

getLog returns truncated lines when logUserIds=1

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.0-rc0
    • Affects Version/s: 2.3.2
    • Component/s: 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' }

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

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

              Created:
              Updated:
              Resolved: