improve log zipping (not working atm)