MDL-37658 logging: legacy log fields substitution
MDL-41285: block_recent_activity: convert query to new logging api