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

MongoDB 4.4.x on Windows service related log lines issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.4.4
    • 5.0.0-rc0
    • Logging
    • None
    • Fully Compatible
    • ALL
    • Security 2021-05-03, Security 2021-05-17

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: