update custom logging prefix format in shell output

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • RSSD
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-107792, we extended the mongo test shell to support an optional logging prefix so that processes may have a "<custom prefix>:<PID>" label rather than "sh<PID>". However, the variability of the resulting format, without a familiar anchor such as "sh", does not interoperate well with tools that may expect a more predictable suffix.

      In this ticket, we propose to change the format for mongo shell processes with a custom prefix to be:

      sh<PID>:<custom prefix>.

      On code inspection, the PID has to be the last component of the logging label, so here's a new proposed format:

      sh_<custom prefix>:<PID>

            Assignee:
            Benety Goh
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: