log progress and errors while compressing