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

Include loglevel in log messages

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Minor Change
    • Dev Tools 2019-03-25

      Currently, there is no quick way to filter log files collected at a higher verbosity to only include lower verbosity messages. By (optionally) including the loglevel in logged message, higher verbosity logs could be quickly filtered to speed initial investigation into issues.

      I'm imagining that a call to LOG(3), would include a 3 in the logged message.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: