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:
- Are to fileid 0, the metadata file.
- 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.