-
Type: Technical Debt
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
2
In WT-8192, we extended the verbose API to support the assignment of verbosity levels per event category. In one place, we should use WT_VERBOSE_DEFAULT instead of WT_VERBOSE_DEBUG:
else if (sval.type == WT_CONFIG_ITEM_BOOL && sval.len == 0) /* * If no value is associated with the event (i.e passing verbose=[checkpoint]), default * the event to WT_VERBOSE_DEBUG. Correspondingly, all legacy uses of '__wt_verbose', * being messages without an explicit verbosity level, will default to * 'WT_VERBOSE_DEBUG'. */ conn->verbose[ft->flag] = WT_VERBOSE_DEBUG;
When the level is not specified, we should assign the category to WT_VERBOSE_DEFAULT.
Definition of done:
Update the code and the comment just above accordingly.