compress log