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

Don't Print Shell Log Messages to STDOUT When --quiet Is Used

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Security, Shell
    • Server Tooling & Methods
    • ALL

    Description

      C:\MongoDB\bin>mongo
      2016-04-19T14:13:20.172-0400 I CONTROL [main] Hotfix KB2731284 or later update is installed, no need to zero-out data files
      MongoDB shell version: 3.2.5
      connecting to: test

      May we please have a way of getting rid of this warning message?
      Even --quiet doesn't help.
      This is extremely annoying as it ends up in stdout and thus in any file I would redirect the output to.

      What is especially annoying is that the warning is there no matter if I have the hotfix installed or not. This is what I used to get before I got the hotfix installed:

      C:\MongoDB\bin>mongo.exe
      2016-04-19T15:13:29.709-0400 I CONTROL [main] Hotfix KB2731284 or later update is not installed, will zero-out data files
      MongoDB shell version: 3.2.5
      connecting to: test

      Attachments

        Activity

          People

            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            zzayats Ilya Ivanov
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: