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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.1, 4.4.8, 5.0.2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2021-07-12
    • 3

      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.

              Assignee:
              Alexey Anisimov (Inactive)
              Reporter:
              Luke Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: