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

Server shows non-warning messages as startup warnings

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: 4.3.4
    • Component/s: Logging
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • 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"} )
    • Dev Tools 2020-03-09

      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.

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

              Created:
              Updated:
              Resolved: