MDL-40051 mnet: replaced add_to_log calls with events