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

Add a logging macro that only logs when not in quiet mode

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch

    Description

      There are a number of places in the codebase (I count 23 as SERVER-81948) that we check if the global "quiet" parameter is set before emitting a log message. It would be a nice convenience to have some macro(s) similar to the other log macros that handle checking the parameter for you when deciding whether to emit the message.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: