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

mongod --version is formatted awkwardly

    • Fully Compatible
    • v4.4
    • Service arch 2020-05-18
    • 0

      > mongod --version
      db version v4.5.0-472-gb74a814
      Build Info:{"version":"4.5.0-472-gb74a814"
       ,"gitVersion":"b74a8143ac2160f8687de2a222ce66af85a092de"
       ,"openSSLVersion":"OpenSSL 1.1.1  11 Sep 2018"
       ,"modules":[]
       ,"allocator":"tcmalloc"
       ,"environment":{"distmod":"ubuntu1804"
         ,"distarch":"x86_64"
         ,"target_arch":"x86_64"}}
      

      This is a very unusual formatting for a json document. Standard pretty-printed formatting would be something like

      Build Info: {
          "version": "4.5.0-472-gb74a814",
          "gitVersion": "b74a8143ac2160f8687de2a222ce66af85a092de",
          "openSSLVersion": "OpenSSL 1.1.1  11 Sep 2018",
          "modules": [],
          "allocator": "tcmalloc",
          "environment": {
              "distmod": "ubuntu1804",
              "distarch": "x86_64",
              "target_arch":"x86_64"
          }
      }
      

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: