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

Clean up inconsistent verbose usage

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Live Restore
    • None
    • Storage Engines

      The wt_verbose set of functions requires a print-format argument. In the cases where one wants to simply print a string, the generally accepted way to do it is:

      __wt_verbose(..., "%s", "My full string here");
      

      There are several incorrect uses like:

      __wt_verbose(..., "My %s string here", "full");
      

      The first usage is preferred because it keeps the entire string in one location.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: