issue #19: fixed the resume point extraction and the resume log generation