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

Redact user data from printlog output

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

      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.

            sue.loverso@mongodb.com Susan LoVerso
            sue.loverso@mongodb.com Susan LoVerso
            0 Vote for this issue
            7 Start watching this issue