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

MongoDB 4.4.x on Windows service related log lines issues

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: 4.4.4
    • Component/s: Logging
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Security 2021-05-03, Security 2021-05-17

      The log lines generated when MongoDB 4.4.x starts a windows service or removes it have issues with the strings included ("toUtf8String_serviceName").

      For example:

      {"t":{"$date":"2020-12-17T16:12:57.631+00:00"},"s":"I",  "c":"CONTROL",  "id":23316,   "ctx":"main","msg":"Trying to start Windows service '{toUtf8String_serviceName}'","attr":{"toUtf8String_serviceName":"MongoDB"}}
      

      or:

      {"t":{"$date":"2021-03-26T05:32:09.899+00:00"},"s":"I",  "c":"CONTROL",  "id":23307,   "ctx":"main","msg":"Trying to remove Windows service '{toUtf8String_serviceName}'","attr":{"toUtf8String_serviceName":"MongoDB"}}
      {"t":{"$date":"2021-03-26T05:32:09.900+00:00"},"s":"I",  "c":"CONTROL",  "id":23309,   "ctx":"main","msg":"Could not find a service named '{toUtf8String_serviceName}' to remove","attr":{"toUtf8String_serviceName":"MongoDB"}}
      

      Please review what's causing this.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            emilio.scalise@mongodb.com Emilio Scalise
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: