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

suppress ARM Mac cpufrequency startup messages

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-10-03, Service Arch 2022-10-17

    Description

      On an M1 Mac, every time mongod starts it outputs some extra lines:

      {"t":{"$date":"2022-08-22T13:15:05.576-04:00"},"s":"I",  "c":"CONTROL",  "id":23352,   "ctx":"initandlisten","msg":"Unable to resolve sysctl {sysctlName} (number) ","attr":{"sysctlName":"hw.cpufrequency"}}
      {"t":{"$date":"2022-08-22T13:15:05.576-04:00"},"s":"I",  "c":"CONTROL",  "id":23351,   "ctx":"initandlisten","msg":"{sysctlName} unavailable","attr":{"sysctlName":"machdep.cpu.features"}}
      

      It would be nice to suppress these messages, or remove cpufrequency entirely (is it used by anything?)

      Attachments

        Activity

          People

            alex.li@mongodb.com Alex Li
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: