MDL-41285: block_recent_activity: convert query to new logging api