MDL-40051 tool_capability: replaced add_to_log call with an event
MDL-40051 report_questioninstances: replaced add_to_log call with an event