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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: