The 'test' program does not log messages in msgasserted()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.2.1, 2.3.0
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The msgasserted() function in util/assert_util.cpp uses tlog() to log messages instead of log(). Because tlogLevel is set to -1 in dbtests/framework.cpp, this suppresses all messages describing the cause of assertions thrown by the 'test' program. It does, however, display stack traces to 'cout', so we get stack traces with no explanation in the output of 'test'. The 'test' logs would be easier to interpret if we could see the reason for the stack traces.

      Changing 'tlog()' to 'log()' in msgasserted() would fix this.

            Assignee:
            Tad Marshall
            Reporter:
            Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: