#7: more reliable log records parsing