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

Log only warning, error or fatal messages

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin, Logging
    • Labels:
    • Fully Compatible

      We have lately started using syslog to hold the mongodb logs. However, it is a little overwhelming within the amount of informational logs we receive.

      Also, since enabling the --syslog flag the system has decreased in performance

      The below links describe, 0 is the default verbosity level and includes informational logs. How 1 - 5 only increases the verbosity level, is there a way to only log warning, error or fatal messages?

      http://docs.mongodb.org/manual/reference/method/db.setLogLevel/

      http://docs.mongodb.org/manual/reference/log-messages/

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            andy@ditno.com Andy Walker
            Votes:
            1 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: