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

Redact user data from printlog output

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.9.0, 4.4.4, 4.2.13, 4.0.24
    • Component/s: None
    • Labels:
      None
    • Backport Requested:
      v4.4, v4.2, v4.0

      Description

      In some cases it would be helpful to have the content of WT log but not show any user content. There are users concerned about PII even for internal engineers helping on support tickets. In most cases we also don't need any of that content. What we really need is to see what is going on inside WiredTiger itself.

      It could be useful to have an option to printlog that would not print out user content. The only user content written to the log is by way of operations that are part of a commit record. We would want to print all records, and print only operations in commit records that:

      1. Are to fileid 0, the metadata file.
      2. Are the debugging mode operations like timestamp usage.

      That should redact all user content, but the implementor should evaluate all log records and operations defined in dist/log_data.py for anything I've not mentioned.

        Attachments

          Activity

            People

            Assignee:
            sue.loverso Susan LoVerso
            Reporter:
            sue.loverso Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: