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

Server shows non-warning messages as startup warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.4.0-rc0, 4.7.0
    • Component/s: Logging
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Steps To Reproduce:
      Hide

      1. Download 4.3.4-ent for macos (haven't tested on other distros)
      2. Start mongod with logPath set. If logPath isn't set, the problem isn't reproducible.
      3. run db.runCommand(

      {getLog: "startupWarnings"}

      )

      Show
      1. Download 4.3.4-ent for macos (haven't tested on other distros) 2. Start mongod with logPath set. If logPath isn't set, the problem isn't reproducible. 3. run db.runCommand( {getLog: "startupWarnings"} )
    • Sprint:
      Dev Tools 2020-03-09

      Description

      running

      db.runCommand({getLog: "startupWarnings"})
      

      shows non-warning messages. for example:

      "{\"t\":{\"$date\":\"2020-03-05T14:17:17.815+0200\"},\"s\":\"I\", \"c\":\"NETWORK\", \"id\":51800,\"ctx\":\"conn25\",\"msg\":\"received client metadata from {remote} {client}: {doc}\",\"attr\":{\"remote\":\"127.0.0.1:62392\",\"client\":\"conn25\",\"doc\":{\"application\":{\"name\":\"MongoDB Shell\"},\"driver\":{\"name\":\"MongoDB Internal Client\",\"version\":\"4.3.4\"},\"os\":{\"type\":\"Darwin\",\"name\":\"Mac OS X\",\"architecture\":\"x86_64\",\"version\":\"18.6.0\"}}}}"
      

      This is not reproducible on 4.3.3, so might be related to structured logging changes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henrik.edin Henrik Edin
              Reporter:
              tomer.yakir Tomer Yakir
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: