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

Transform Resmoke's prefixes into JSON attributes

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • 5

      As of now, Resmoke prefixes the structured log output of mongod / mongos processes with some process information. E.g.: "[j3:s1:prim] ".

      When Resmoke is run with --outputFormat=json (see SERVER-97956), this information should be added to the server process structured log lines under "attr", e.g.,

      {..., "attr": {..., "pInfo": {"j": 3, "s": 2, port: 20752}}}..
      

      The example above adds an additional JSON attribute "pInfo" (short for "process information"). Adding this information to "attr" is in-line with JSON log output format and should minimize the differences between analyzing Resmoke and plain server logs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: