Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6997

Integrate WiredTiger verbose messages with MongoDB logging

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      WiredTiger debug messages (i.e., output from verbose messaging) should be integrated with MongoDB so a user can ask for more detailed or component-specific messages from WT just as they can from other parts of MongoDB, and the resulting messages will be captured and written to the mongod logpath.

      Messages from WT already get captured and written to the MongoDB log. This ticket addresses the other parts that we need for integrated with mongod:

      1. Provide a WT API that would allow the user (i.e., mongod) to set a severity level and specify one or more components to enable additional messaging from.
      2. Add new messages as appropriate to provide the data requested via this API.  

      The existing verbose=[...] WT config option provides component-level logging from WT.  So one way to approach this would be to add a severity option and assign a default severity level to all the existing verbose messages.  Then we can adjust severities and add/remove messages incrementally as the need arises or with directed tickets to revise the debuting messages in specific areas of the system.

       

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            keith.smith Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: