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

log component hierarchy

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.4
    • Affects Version/s: 2.7.2
    • Component/s: Logging
    • Labels:
    • Server 2.7.4
    • 0

      Currently log components (introduced in SERVER-5092) are laid out in a flat namespace with a default:

      • Debug
        • Access Control
        • Commands
        • Indexing
        • Networking
        • Query
        • Replication
        • Sharding
          **Storage

      It would be desirable to support a hierarchy of log components:

      • Default
        • Access Control
        • ...
        • Storage
          • Journalling

      In the example above, if the log level for Default is 2 and Storage is set to 3 and Journalling is not configured, Journalling would inherit Storage's log level so that MONGO_LOG(3, Journalling) messages would be written to the log destination.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: