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

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

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

      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@mongodb.com Alexey Anisimov (Inactive)
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: