Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5503

Windows OS version is null in logs

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging, Telemetry Data
    • Labels:
      None
    • 3

      A few recent logs from windows customers don't have the osReleaseName/osReleaseVersion.
      We can expand the os release name and version parsing in https://github.com/mongodb-js/compass/blob/main/packages/compass/src/main/logging.ts#L42 to give more information for windows devices.

      {"t":{"$date":"2022-02-09T15:52:09.311Z"},"s":"I","c":"COMPASS-MAIN","id":1001000001,"ctx":"logging","msg":"Starting logging","attr":{"version":"1.30.1","nodeVersion":"14.16.0","electronVersion":"13.5.1","chromeVersion":"91.0.4472.164","platform":"win32","arch":"x64","osReleaseName":null,"osReleaseVersion":null}}
      {"t":{"$date":"2022-02-09T15:52:15.637Z"},"s":"I","c":"COMPASS-MIGRATIONS","id":1001000070,"ctx":"Migrations","msg":"Considering upgrade migration","attr":{"previousVersion":"1.19.12","currentVersion":"1.30.1","tasks":["1.20.0-beta.0","1.21.0-beta.0","1.21.0-dev.0"]}}
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: