Compress logs at the end of the run