mod/taskchain add record snapshots to logging in Moodle >= 2.6