With the introduction of WT-8254 & WT-8258, the WiredTiger verbose messaging system can now use verbosity levels and produce JSON encoded message strings.
Currently 'wt_msg' does not follow the same code paths as the other internal message interfaces (i.e. doesn't call 'eventv'), rather short circuits and calls the 'WT_EVENT_HANDLER:handle_message' interface function directly. The intention of this ticket is to more closely integrate uses of 'wt_msg' with the verbose messaging system (such that it unifies the message interfaces), allowing it to benefit from the new additions introduced in WT-8254 & WT-8258. (e.g. JSON-encoded strings).
Definition of Done:
- Introduce a new verbosity level i.e. 'WT_VERBOSE_NOTICE' (in-between 'WT_VERBOSE_INFO' & 'WT_VERBOSE_WARNING'). 'WT_VERBOSE_NOTICE' is an always-on verbosity level used for printing messages, this matching the always on visibility requirements of 'wt_msg'.
- Update uses of 'wt_msg' with an equivalent 'wt_verbose' call (using the 'WT_VERBOSE_NOTICE' level).
- Previous uses of '__wt_msg' will now need to be accompanied with a verbose category.
- split to
-
WT-8458 Support JSON-encoded message strings for 'WT_CONNECTION::debug_info' messages
- Backlog