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

Improve debug_print to include timestamp, thread_id and reorder args in cppsuite.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 4.4.8, 5.0.2, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None

      Description

      The cppsuite debug_print utility function in test/cppsuite/test_harness/util/debug_utils.h can be improved a bit. These improvements are:

      1. Reorder the arguments so log level is the first arg, making parsing easier.
      2. Log the time and thread id at the front of the message. Find a nice format.

        Attachments

          Activity

            People

            Assignee:
            alexey.anisimov Alexey Anisimov
            Reporter:
            luke.pearson Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: