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

db.adminCommand({getLog: "startupWarnings"}) returns all log messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Operating System:
      ALL

      Description

      On startup the mongo shell prints thousands of log lines. It looks like db.adminCommand({getLog: "startupWarnings"}) is returning all log lines, not just startup warnings.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henrik.edin Henrik Edin
              Reporter:
              bruce.lucas Bruce Lucas
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: