added recording and task id to debug output